Пример #1
0
 public void TowerListAdd(Tower e_)
 {
     lock (threadSafeLock)
     {
         TowerList.Add(e_);
         DrawList.Add(e_);
     }
 }
Пример #2
0
 public void CreatePlayer()
 {
     Tower entity = new Tower();
     entity.Texture = gameAssets.TextureList[(int)PLAYER_SPRITES.TOWER];
     gameAssets.TowerListAdd(entity);
 }