프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Active | System.Boolean | ||
Collidable | System.Boolean | ||
OriginX | int | ||
OriginY | int | ||
Position | Vector2 | ||
Size | Vector2 | ||
Visible | System.Boolean | ||
renderTarget |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | Entity |
public Entity ( float x, float y, |
||
x | float | |
y | float | |
graphic | ||
리턴 | System |
public setHitbox ( int width, int height, int originX, int originY ) : void | ||
width | int | |
height | int | |
originX | int | |
originY | int | |
리턴 | void |