Beispiel #1
0
 public Plant(Game game, PlantManager plantManager, Vector2 position)
     : base(game)
 {
     this.plantManager = plantManager;
     this.position = position;
     this.Impacts = new List<Impacts.IPlantImpact>();
     this.Initialize();
 }
Beispiel #2
0
 public SunFlower(Game game, PlantManager plantManager, Vector2 position)
     : base(game, plantManager, position)
 {
     sunEngine = new PlantSunEngine(game, plantManager.GetSunManager,
         plantManager.GetSunManager.SunBankLocation, this.position);
     sunEngine.SetGriding = plantManager.GetGriding;
     sunEngine.SunValue = 35;
 }
Beispiel #3
0
 public GrowManager(PlantManager manager)
     : base(manager.Game)
 {
     this.Manager = manager;
     this.IsPlaying = false;
     this.ChooseList = new ChooseList(this);
     this.ChooseList.Position = new Vector2(-500f, 110f);
     this.Manager.GetSunManager.SunBankLocation = new Vector2(35f, 5f);
     this.BuyList = new BuyList(this);
     this.BuyList.Position = new Vector2(110f, -100f);
 }
Beispiel #4
0
 public WaterMush(Game game, PlantManager plantManager, Vector2 position)
     : base(game, plantManager, position)
 {
 }
Beispiel #5
0
 public Mine(Game game, PlantManager plantManager, Vector2 position)
     : base(game, plantManager, position)
 {
 }
 public SupportPlant(Game game, PlantManager plantManager, Vector2 position)
     : base(game, plantManager, position)
 {
     this.AddToPlantManager();
 }