示例#1
0
    public void ChoosePlayer(string s)
    {
        switch (s)
        {
        case "Knight":
            _char = "Karate Warrior";
            //_scriptChar = Character.CharType.Ninja; ;
            break;

        case "Mage":
            _char = "Sorceress Warrior";
            // _scriptChar = Character.CharType.Ninja; ;

            break;

        case "Zombie":
            _char = "Brute";
            // _scriptChar = Character.CharType.Ninja; ;

            break;

        case "Archer":
            _char       = "Ninja";
            _scriptChar = Character.CharType.Ninja;
            break;

        default:
            break;
        }
    }
示例#2
0
 public void SetShotCharacterType(Character.CharType charType)
 {
     _shotCharType = charType;
 }