Пример #1
0
        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;
        }
Пример #2
0
        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();
        }
Пример #3
0
        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;
        }
Пример #4
0
        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;
        }