Exemple #1
0
        public static Player CreateDefaultPlayer()
        {
            Player player = new Player(10, 10, 20, 0, 10, 10);

            player.Inventory.Add(new InventoryItem(World.ItemByID(World.ITEM_ID_RUSTY_SWORD), 1));
            player.Spells.Add(World.SpellByID(World.SPELL_ID_FIREBALL));
            player.CurrentLocation = World.LocationByID(World.LOCATION_ID_HOME);

            return(player);
        }