This commit is contained in:
aozhiwei 2019-06-10 11:40:00 +08:00
parent 66f692e324
commit 34d91a7942

View File

@ -8,7 +8,11 @@
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()