-
Notifications
You must be signed in to change notification settings - Fork 0
/
World.cs
36 lines (29 loc) · 863 Bytes
/
World.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Lost_Soul
{
public class World
{
public MainMap OverWorld { get; set; }
public List<Map> SmallMap { get; set; }
public string Name { get; set; }
public int SpawnPlaceMapType { get; set; }
public int SpawnMapX { get; set; }
public int SpawnMapY { get; set; }
public int SpawnMapIndex { get; set; }
public World()
{
OverWorld = new MainMap();
MapGenerator mg = new MapGenerator();
OverWorld = mg.NewMap();
SmallMap = new List<Map>();
Name = "New World";
SpawnPlaceMapType = (int)MapType.MainMap;
SpawnMapX = 0;
SpawnMapY = 0;
SpawnMapIndex = 0;
}
}
}