You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
363 B
C++

#pragma once
#include "core/point.h"
#include "core/vector.h"
namespace kku
{
class Sprite
{
public:
virtual ~Sprite() = default;
virtual void setPosition(const Point &position) = 0;
virtual Point getPosition() const = 0;
virtual void move(const kku::Vector2<float> &delta) = 0;
virtual void display() const = 0;
};
} // namespace kku