public void FillFrom(NamelessRogue.Engine.Generation.World.BoardPieces.MapBuilding component) { this.Id = component.Id == null ? null : component.Id.ToString(); this.Name = component.Name; this.Position = component.Position; this.Representation = (short)component.Representation; this.CharColor = component.CharColor; }
public void FillFrom(NamelessRogue.Engine.Components.Rendering.Drawable component) { this.BackgroundColor = component.BackgroundColor; this.Representation = (short)component.Representation; this.Visible = component.Visible; this.CharColor = component.CharColor; this.Id = component.Id == null ? null : component.Id.ToString(); this.ParentEntityId = component.ParentEntityId == null ? null : component.ParentEntityId.ToString(); }
public void FillFrom(NamelessRogue.Engine.Generation.World.Settlement component) { this.Treasury = component.Treasury; this.Concrete = component.Concrete; this.Id = component.Id == null ? null : component.Id.ToString(); this.Name = component.Name; this.Position = component.Position; this.Representation = (short)component.Representation; this.CharColor = component.CharColor; }
public void FillFrom(NamelessRogue.Engine.Generation.World.BoardPieces.Army component) { this.Supply = component.Supply; this.Mana = component.Mana; this.MaxNumberOfUnits = component.MaxNumberOfUnits; this.Id = component.Id == null ? null : component.Id.ToString(); this.Name = component.Name; this.Position = component.Position; this.Representation = (short)component.Representation; this.CharColor = component.CharColor; }
public void FillFrom(NamelessRogue.Engine.Generation.World.MetaphysicalForce component) { this.Name = component.Name; this.Color = component.Color; }