Barotrauma Client Doc
Barotrauma.BackgroundCreatureManager Class Reference

Public Member Functions

 BackgroundCreatureManager (IEnumerable< BackgroundCreaturePrefabsFile > files)
 
 BackgroundCreatureManager (string path)
 
void SpawnCreatures (Level level, int count, Vector2? position=null)
 
void Clear ()
 
void Update (float deltaTime, Camera cam)
 
void Draw (SpriteBatch spriteBatch, Camera cam)
 
void DrawLights (SpriteBatch spriteBatch, Camera cam)
 

Detailed Description

Definition at line 10 of file BackgroundCreatureManager.cs.

Constructor & Destructor Documentation

◆ BackgroundCreatureManager() [1/2]

Barotrauma.BackgroundCreatureManager.BackgroundCreatureManager ( IEnumerable< BackgroundCreaturePrefabsFile files)

Definition at line 21 of file BackgroundCreatureManager.cs.

◆ BackgroundCreatureManager() [2/2]

Barotrauma.BackgroundCreatureManager.BackgroundCreatureManager ( string  path)

Definition at line 29 of file BackgroundCreatureManager.cs.

Member Function Documentation

◆ Clear()

void Barotrauma.BackgroundCreatureManager.Clear ( )

Definition at line 119 of file BackgroundCreatureManager.cs.

◆ Draw()

void Barotrauma.BackgroundCreatureManager.Draw ( SpriteBatch  spriteBatch,
Camera  cam 
)

Definition at line 154 of file BackgroundCreatureManager.cs.

◆ DrawLights()

void Barotrauma.BackgroundCreatureManager.DrawLights ( SpriteBatch  spriteBatch,
Camera  cam 
)

Definition at line 163 of file BackgroundCreatureManager.cs.

◆ SpawnCreatures()

void Barotrauma.BackgroundCreatureManager.SpawnCreatures ( Level  level,
int  count,
Vector2?  position = null 
)

Definition at line 64 of file BackgroundCreatureManager.cs.

◆ Update()

void Barotrauma.BackgroundCreatureManager.Update ( float  deltaTime,
Camera  cam 
)

Definition at line 124 of file BackgroundCreatureManager.cs.