public string aplicarTag(tagBullets tag)
    {
        string t = null;

        switch (tag)
        {
        case tagBullets.player:
            t = "PlayerShot";
            break;

        case tagBullets.inimigo:
            t = "EnemyShot";
            break;
        }
        return(t);
    }
    public string aplicarTag(tagBullets tag)
    {
        string retorno = null;

        switch (tag)
        {
        case tagBullets.player:
            retorno = "playerShot";
            break;

        case tagBullets.inimigo:
            retorno = "inimigoShot";
            break;
        }
        return(retorno);
    }
Exemple #3
0
    public string retornaTag(tagBullets tag)
    {
        string retorno = null;

        switch (tag)
        {
        case tagBullets.playerShot:
            retorno = "playerShot";
            break;

        case tagBullets.enemyShot:
            retorno = "enemyShot";
            break;
        }
        return(retorno);
    }