Barotrauma Client Doc
|
Public Member Functions | |
BackgroundCreature (BackgroundCreaturePrefab prefab, Vector2 position) | |
void | Update (float deltaTime) |
void | DrawLightSprite (SpriteBatch spriteBatch, Camera cam) |
void | Draw (SpriteBatch spriteBatch, Camera cam) |
Vector2 | GetDrawPosition (Camera cam) |
float | GetScale () |
Rectangle | GetExtents (Camera cam) |
Public Attributes | |
bool | Visible |
readonly BackgroundCreaturePrefab | Prefab |
Swarm | Swarm |
Properties | |
Vector2[,] | CurrentSpriteDeformation [get] |
Vector2[,] | CurrentLightSpriteDeformation [get] |
Vector2 | SimPosition [get] |
Vector2 | WorldPosition [get] |
Vector2 | Velocity [get] |
Vector2 | Steering [get, set] |
Properties inherited from Barotrauma.ISteerable | |
Vector2 | Steering [get, set] |
Vector2 | Velocity [get] |
Vector2 | SimPosition [get] |
Vector2 | WorldPosition [get] |
Definition at line 11 of file BackgroundCreature.cs.
Barotrauma.BackgroundCreature.BackgroundCreature | ( | BackgroundCreaturePrefab | prefab, |
Vector2 | position | ||
) |
Definition at line 77 of file BackgroundCreature.cs.
void Barotrauma.BackgroundCreature.Draw | ( | SpriteBatch | spriteBatch, |
Camera | cam | ||
) |
Definition at line 239 of file BackgroundCreature.cs.
void Barotrauma.BackgroundCreature.DrawLightSprite | ( | SpriteBatch | spriteBatch, |
Camera | cam | ||
) |
Definition at line 234 of file BackgroundCreature.cs.
Vector2 Barotrauma.BackgroundCreature.GetDrawPosition | ( | Camera | cam | ) |
Definition at line 292 of file BackgroundCreature.cs.
Rectangle Barotrauma.BackgroundCreature.GetExtents | ( | Camera | cam | ) |
Definition at line 308 of file BackgroundCreature.cs.
float Barotrauma.BackgroundCreature.GetScale | ( | ) |
Definition at line 303 of file BackgroundCreature.cs.
void Barotrauma.BackgroundCreature.Update | ( | float | deltaTime | ) |
Definition at line 132 of file BackgroundCreature.cs.
readonly BackgroundCreaturePrefab Barotrauma.BackgroundCreature.Prefab |
Definition at line 19 of file BackgroundCreature.cs.
Swarm Barotrauma.BackgroundCreature.Swarm |
Definition at line 41 of file BackgroundCreature.cs.
bool Barotrauma.BackgroundCreature.Visible |
Definition at line 17 of file BackgroundCreature.cs.
|
get |
Definition at line 50 of file BackgroundCreature.cs.
|
get |
Definition at line 45 of file BackgroundCreature.cs.
|
get |
Definition at line 56 of file BackgroundCreature.cs.
|
getset |
Definition at line 71 of file BackgroundCreature.cs.
|
get |
Definition at line 66 of file BackgroundCreature.cs.
|
get |
Definition at line 61 of file BackgroundCreature.cs.