Collisions?
This commit is contained in:
@@ -91,13 +91,7 @@ namespace EEntity
|
||||
}
|
||||
}
|
||||
|
||||
// AABB
|
||||
class HitBox
|
||||
{
|
||||
public:
|
||||
int x, y, w, h;
|
||||
};
|
||||
|
||||
class HitBox;
|
||||
class Entity
|
||||
{
|
||||
public:
|
||||
@@ -148,8 +142,7 @@ public:
|
||||
ETile::Type Type;
|
||||
ETile::State State;
|
||||
|
||||
//olc::vf2d SpriteTextureMask;
|
||||
//olc::Renderable* SpriteMap;
|
||||
HitBox* AABBHitBox;
|
||||
|
||||
virtual void Update(float fTime);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user