public void TowerListAdd(Tower e_) { lock (threadSafeLock) { TowerList.Add(e_); DrawList.Add(e_); } }
public void CreatePlayer() { Tower entity = new Tower(); entity.Texture = gameAssets.TextureList[(int)PLAYER_SPRITES.TOWER]; gameAssets.TowerListAdd(entity); }