Property | Type | Description | |
---|---|---|---|
_num | int | ||
_posX | int | ||
_posY | int | ||
_position | int[] | ||
ray_time | float |
Method | Description | |
---|---|---|
Tower ( int posX, int posY, float startTime, int num ) : System | ||
Update ( ) : void | ||
drawTower ( ) : void | ||
explosion ( ) : void |
Method | Description | |
---|---|---|
check_map ( int num_x, int num_y ) : bool |
如果撞到障礙物或是磚塊,回傳false
|
public Tower ( int posX, int posY, float startTime, int num ) : System | ||
posX | int | |
posY | int | |
startTime | float | |
num | int | |
return | System |