Ejemplo n.º 1
0
        public Hero(World World)
        {
            Name = "Hero #" + rand.Next(1000);
            Distance = rand.Next(20) + 1;
            this.world = World;

            Destination = World.Town;
            CurrentLocation = World.Wilderness;
            Needs = new NeedList(this);
        }
Ejemplo n.º 2
0
 private static void Initialize()
 {
     game = new World();
     timer = new Stopwatch();
     timer.Start();
 }