[Add] Being super lazy, but I have done something..

This commit is contained in:
Rtch90 2012-04-12 19:57:39 +01:00
parent 0a0dbd18c3
commit 61895f84af
2 changed files with 7 additions and 2 deletions

View File

@ -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) {

View File

@ -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];
};