Пример #1
0
        public WanderingEnemyGameComponent addWanderingEnemy(String imageName)
        {
            WanderingEnemyGameComponent wanderingEnemyGameComponent = new WanderingEnemyGameComponent(this, imageName);

            this.Components.Add(wanderingEnemyGameComponent);
            return(wanderingEnemyGameComponent);
        }
Пример #2
0
 public WanderingEnemyGameComponent addWanderingEnemy(String imageName)
 {
     WanderingEnemyGameComponent wanderingEnemyGameComponent = new WanderingEnemyGameComponent(this, imageName);
     this.Components.Add(wanderingEnemyGameComponent);
     return wanderingEnemyGameComponent;
 }