public override void LoadContent() { this.graphicDefinition = UnitContentManager.LoadGraphicDefinition(this.unittype.UnitEntityType); //this.destinationRectangle.Width = this.graphicDefinition.SpriteSize.Width; //this.destinationRectangle.Height = this.graphicDefinition.SpriteSize.Height; this.unittype = null; base.LoadContent(); }