예제 #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);
 }