1
This commit is contained in:
parent
cdd5389b30
commit
ff31a1d4b1
@ -7,6 +7,7 @@
|
||||
#include "collision.h"
|
||||
#include "creature.h"
|
||||
#include "obstacle.h"
|
||||
#include "roomobstacle.h"
|
||||
|
||||
bool Collision::CheckBullet(IBullet* bullet, Creature* c)
|
||||
{
|
||||
@ -17,8 +18,11 @@ bool Collision::CheckBullet(IBullet* bullet, Creature* c)
|
||||
);
|
||||
}
|
||||
|
||||
bool Collision::CheckBullet(IBullet* bullet, Entity* c)
|
||||
bool Collision::CheckBullet(IBullet* bullet, Entity* e)
|
||||
{
|
||||
if (e->IsEntityType(ET_Obstacle) && ((Obstacle*)e)->IsRoomObstacle()) {
|
||||
RoomObstacle* ob = (RoomObstacle*)e;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user