public Plant(Vector2 Pos, string Path, EntityTypes Type) : base(Pos, Path, Type) { base._acceleration = new Vector2(0, 0); base._velocity = new Vector2(0, 0); base._maxVel = 0.0f; base._dimensions = new Vector2(32, 32); base._color = Color.Green; base._accRate = 0.0f; this._spawnTimer = new NicksTimer((float)Globals.GenerateRandomNumber(9, 18)); }
/*------------------- Accessors --------------------------------------------*/ /*------------------- Constructors -----------------------------------------*/ public Spore(Vector2 Pos, string Path, EntityTypes Type) : base(Pos, Path, Type) { base._acceleration = new Vector2(0, 0); base._velocity = new Vector2(0, 0); base._maxVel = 3.0f; _directionTimer = new NicksTimer((float)Globals.GenerateRandomNumber(1, 3)); _spawnTimer = new NicksTimer((float)Globals.GenerateRandomNumber(3, 9)); base._color = Color.Red; base._accRate = 0.1f; }