|
Night Sky Engine
A fighting game framework made in Unreal Engine
|
A collision box. More...
#include <CollisionBox.h>
Public Member Functions | |
| bool | operator!= (const FCollisionBox &OtherBox) const |
Public Attributes | |
| TEnumAsByte< EBoxType > | Type = BOX_Hurt |
| FGameplayTag | CustomType |
| int32 | PosX = 0 |
| int32 | PosY = 0 |
| int32 | SizeX = 0 |
| int32 | SizeY = 0 |
A collision box.
Primarily used for push and hit collision, but some box types are used for specific operations.
Definition at line 40 of file CollisionBox.h.
|
inline |
Compares against another collision box for inequality.
| OtherBox | The box to compare against. |
Definition at line 158 of file CollisionBox.h.
| FGameplayTag FCollisionBox::CustomType |
The custom box type. Used with BOX_Custom to define custom box behaviors.
Definition at line 53 of file CollisionBox.h.
| int32 FCollisionBox::PosX = 0 |
X position.
Definition at line 58 of file CollisionBox.h.
| int32 FCollisionBox::PosY = 0 |
Y position.
Definition at line 63 of file CollisionBox.h.
| int32 FCollisionBox::SizeX = 0 |
X size.
Definition at line 68 of file CollisionBox.h.
| int32 FCollisionBox::SizeY = 0 |
Y size.
Definition at line 73 of file CollisionBox.h.
| TEnumAsByte<EBoxType> FCollisionBox::Type = BOX_Hurt |
The type of box.
Definition at line 48 of file CollisionBox.h.