Beispiel #1
0
    // Which of the 4 types of move (Basic, Strong, Evade, Grab) is this move?
    public string WhatMoveIsThis(string moveName)
    {
        if (basic.RefersToThis(moveName))
        {
            return(Constants.BASIC);
        }
        if (strong.RefersToThis(moveName))
        {
            return(Constants.STRONG);
        }
        if (evade.RefersToThis(moveName))
        {
            return(Constants.EVADE);
        }
        if (grab.RefersToThis(moveName))
        {
            return(Constants.GRAB);
        }

        return("Invalid");
    }