Property | Type | Description | |
---|---|---|---|
Active | System.Boolean | ||
Collidable | System.Boolean | ||
OriginX | int | ||
OriginY | int | ||
Position | Vector2 | ||
Size | Vector2 | ||
Visible | System.Boolean | ||
renderTarget |
Method | Description | |
---|---|---|
Added ( ) : void | ||
Collide ( String type, float x, float y ) : Entity | ||
Entity ( float x, float y, |
||
Removed ( ) : void | ||
Render ( ) : void | ||
Update ( ) : void | ||
setHitbox ( int width, int height, int originX, int originY ) : void |
public Collide ( String type, float x, float y ) : Entity | ||
type | String | |
x | float | |
y | float | |
return | Entity |
public Entity ( float x, float y, |
||
x | float | |
y | float | |
graphic | ||
return | System |
public setHitbox ( int width, int height, int originX, int originY ) : void | ||
width | int | |
height | int | |
originX | int | |
originY | int | |
return | void |