public SpaceType(Haven.SpaceType type) { this.Id = (int)type; this.Name = type.GetName(); this.Description = type.GetDescription(); this.Icon = type.GetIcon(); }