Exemple #1
0
    private void TryPickUpItem()
    {
        ArrayList items = BattleControllor.GetItemByPoint(this.position);

        foreach (Item item in items)
        {
            if (this.position == item.GetPoint())
            {
                item.Pick(this);
            }
        }
    }