Example #1
0
    private void setRightItemFlagFromCharacter()
    {
        switch (getEnemyName(enemy))
        {
        case "Scorpio":
            collectionItems.setGlass(true);
            break;

        case "Cracty":
            if (collectionItems.getGlass())
            {
                collectionItems.setWood(true);
                collectionItems.setEmptyBottle(true);
            }
            break;

        case "Cobra":
            if (collectionItems.getWood())
            {
                collectionItems.setJar(true);
            }
            break;
        }
    }