Свойство | Type | Description | |
---|---|---|---|
depth | float | ||
sprite |
Méthode | Description | |
---|---|---|
GameObject ( String name, System.Vector2 referenceCoord, System.Vector2 vertexOffsets, float inputmap ) : System | ||
GameObject ( String name, System.Vector2 referenceCoord, System.Vector2 vertexOffsets, float inputmap, float ispeed, float acceleration, bool collision ) : System | ||
IsInside ( Point clickPt ) : bool | ||
Update ( ) : void | ||
getAcc ( ) : float | ||
getBaseSpeed ( ) : float | ||
getCol ( ) : bool | ||
getLoc ( ) : System.Vector2[] | ||
getMap ( ) : float[] | ||
getMaxX ( ) : float | ||
getMaxY ( ) : float | ||
getMinX ( ) : float | ||
getMinY ( ) : float | ||
getName ( ) : String | ||
getSegments ( ) : List |
||
getSpeed ( ) : float | ||
move ( System.Vector2 dist ) : void | ||
ontimer ( ) : bool | ||
removeCollision ( ) : void | ||
setAcc ( float acceleration ) : void | ||
setBaseSpeed ( float ispeed ) : void | ||
setCollision ( ) : void | ||
setMap ( float map ) : void | ||
setName ( String name ) : void | ||
setSpeed ( float speed ) : void | ||
spawn ( System.Vector2 spawnCoords ) : bool | ||
spawned ( ) : bool |
Méthode | Description | |
---|---|---|
intersects ( float speed, string dir, List |
public GameObject ( String name, System.Vector2 referenceCoord, System.Vector2 vertexOffsets, float inputmap ) : System | ||
name | String | |
referenceCoord | System.Vector2 | |
vertexOffsets | System.Vector2 | |
inputmap | float | |
Résultat | System |
public GameObject ( String name, System.Vector2 referenceCoord, System.Vector2 vertexOffsets, float inputmap, float ispeed, float acceleration, bool collision ) : System | ||
name | String | |
referenceCoord | System.Vector2 | |
vertexOffsets | System.Vector2 | |
inputmap | float | |
ispeed | float | |
acceleration | float | |
collision | bool | |
Résultat | System |
public setAcc ( float acceleration ) : void | ||
acceleration | float | |
Résultat | void |
public setBaseSpeed ( float ispeed ) : void | ||
ispeed | float | |
Résultat | void |
public spawn ( System.Vector2 spawnCoords ) : bool | ||
spawnCoords | System.Vector2 | |
Résultat | bool |