[Add] Being super lazy, but I have done something..
This commit is contained in:
parent
0a0dbd18c3
commit
61895f84af
@ -1,11 +1,11 @@
|
||||
#include "Actor.h"
|
||||
|
||||
Actor::Actor(void) : VELOCITY(10.0f) {
|
||||
|
||||
_actor = new Sprite();
|
||||
}
|
||||
|
||||
Actor::~Actor(void) {
|
||||
|
||||
delete _actor;
|
||||
}
|
||||
|
||||
void Actor::LoadSprite(const char* filename, float w, float h) {
|
||||
|
@ -1,5 +1,8 @@
|
||||
#pragma once
|
||||
#include <SDL/SDL.h>
|
||||
|
||||
#include "../Sprite/Sprite.h"
|
||||
#include "../Math/Vec2.h"
|
||||
|
||||
class Actor {
|
||||
public:
|
||||
@ -50,4 +53,6 @@ private:
|
||||
float h;
|
||||
|
||||
Sprite* _actor;
|
||||
Vec2 _spriteVector[4][4];
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user