Exemple #1
0
        private static Worker GetChain()
        {
            var programmer   = new Programmer(Ranks.Worker);
            var teamLead     = new TeamLead(Ranks.TeamLead);
            var gameDesigner = new GameDesigner(Ranks.Gamedesigner);
            var bigBoss      = new BigBoss(Ranks.BigBoss);

            programmer.SetNextWorkStair(teamLead);
            teamLead.SetNextWorkStair(gameDesigner);
            gameDesigner.SetNextWorkStair(bigBoss);
            return(programmer);
        }