1
This commit is contained in:
parent
66f692e324
commit
34d91a7942
@ -8,7 +8,11 @@
|
|||||||
|
|
||||||
void MovementComponent::RayDetection()
|
void MovementComponent::RayDetection()
|
||||||
{
|
{
|
||||||
|
if (owner->entity_type == ET_Bullet) {
|
||||||
|
Bullet* bullet = (Bullet*)owner;
|
||||||
|
} else if (owner->entity_type == ET_Player) {
|
||||||
|
Human* hum = (Human*)owner;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MovementComponent::Clear()
|
void MovementComponent::Clear()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user