Exemple #1
0
        public void ChangeJob(string job)
        {
            job = job.ToUpper();

            switch (job)
            {
            case "BLB": Job = new BlackBelt(this); break;

            case "BLM": Job = new BlackMage(this); break;

            case "BRD": Job = new Bard(this); break;

            case "DEV": Job = new Devout(this); break;

            case "DRG": Job = new Dragoon(this); break;

            case "DRK": Job = new DarkKnight(this); break;

            case "EVO": Job = new Evoker(this); break;

            case "GEO": Job = new Geomancer(this); break;

            case "KNI": Job = new Knight(this); break;

            case "MAG": Job = new Magus(this); break;

            case "MNK": Job = new Monk(this); break;

            case "NIN": Job = new Ninja(this); break;

            case "ONK": Job = new OnionKnight(this); break;

            case "RDM": Job = new RedMage(this); break;

            case "RNG": Job = new Ranger(this); break;

            case "SAG": Job = new Sage(this); break;

            case "SCH": Job = new Scholar(this); break;

            case "SMN": Job = new Summoner(this); break;

            case "THF": Job = new Thief(this); break;

            case "VIK": Job = new Viking(this); break;

            case "WAR": Job = new Warrior(this); break;

            case "WHM": Job = new WhiteMage(this); break;
            }

            _idleAnimation = new IdleAnimation(Job);
        }
 public IdleAnimation(BaseJob job)
 {
     _Job = job;
 }