示例#1
0
文件: OrcWarrior.cs 项目: djvorr/SSE
        public override Finisher getFinisher()
        {
            Finisher finisher3 = new Tornado();
            finisher3 = new Spin(finisher3);
            finisher3 = new Spin(finisher3);
            finisher3 = new Slash(finisher3);

            return finisher3;
        }
示例#2
0
文件: Script.cs 项目: djvorr/SSE
        public void main()
        {
            Finisher finisher2 = new BodySlam();
            finisher2 = new Jump(finisher2);
            finisher2 = new Jump(finisher2);
            finisher2 = new Smash(finisher2);
            Console.WriteLine(finisher2.getFinisher() + finisher2.buildFinisher());

            Finisher finisher3 = new Tornado();
            finisher3 = new Spin(finisher3);
            finisher3 = new Spin(finisher3);
            finisher3 = new Slash(finisher3);
            Console.WriteLine(finisher3.getFinisher() + finisher3.buildFinisher());
        }