public void GetSpaceEvent(Space space) { switch (space.type) { case Space.Type.EVENT: StartEvent(); break; case Space.Type.ITEM_SHOP: break; case Space.Type.MAGIC_SHOP: break; case Space.Type.WEAPON_SHOP: break; case Space.Type.ITEM: itemSpinner.Activate(ItemPool.GetItemPool(space.level), app.ActivePlayer.playerData.inventory); break; case Space.Type.SCROLL: itemSpinner.Activate(ItemPool.GetItemPool(space.level), app.ActivePlayer.playerData.inventory); break; case Space.Type.WEAPON: itemSpinner.Activate(ItemPool.GetItemPool(space.level), app.ActivePlayer.playerData.inventory); break; case Space.Type.SHIELD: itemSpinner.Activate(ItemPool.GetItemPool(space.level), app.ActivePlayer.playerData.inventory); break; } }