little actor.h refactor
This commit is contained in:
@@ -5,12 +5,11 @@
|
|||||||
#include "SFML/Graphics/Texture.hpp"
|
#include "SFML/Graphics/Texture.hpp"
|
||||||
#include "Bullet.h"
|
#include "Bullet.h"
|
||||||
|
|
||||||
struct Position {
|
|
||||||
int x;
|
|
||||||
int y;
|
|
||||||
};
|
|
||||||
|
|
||||||
class Actor {
|
class Actor {
|
||||||
|
struct Position {
|
||||||
|
int x;
|
||||||
|
int y;
|
||||||
|
};
|
||||||
public:
|
public:
|
||||||
Actor(int x, int y, std::string path);
|
Actor(int x, int y, std::string path);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user