Exemple #1
0
        static void Main(string[] args)
        {
            Player player  = new Player();
            Player dylan   = new Player();
            Player matthew = new Player();

            dylan.Attack(matthew);
            player.AddTalk((Callback <string>)SaySomething);
            player.AddTalk((Callback <string>)SayAnotherThing);
            player.Talk("\n -Dylan:");
        }