public Plant(Game game, PlantManager plantManager, Vector2 position) : base(game) { this.plantManager = plantManager; this.position = position; this.Impacts = new List<Impacts.IPlantImpact>(); this.Initialize(); }
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; }
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); }
public WaterMush(Game game, PlantManager plantManager, Vector2 position) : base(game, plantManager, position) { }
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(); }