aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/BasicTests/BasicTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/BasicTests/BasicTests.cs')
-rw-r--r--Samples/BasicTests/BasicTests.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Samples/BasicTests/BasicTests.cs b/Samples/BasicTests/BasicTests.cs
index 656c05a3..954d4879 100644
--- a/Samples/BasicTests/BasicTests.cs
+++ b/Samples/BasicTests/BasicTests.cs
@@ -18,12 +18,12 @@ namespace tests
protected override void OnInitialized ()
{
- Commands = new List<Crow.Command> (new Crow.Command [] {
+ Commands = new CommandGroup (
new Crow.Command("command1", new Action(() => Console.WriteLine ("command1 triggered"))),
new Crow.Command("command2", new Action(() => Console.WriteLine ("command2 triggered"))),
new Crow.Command("command3", new Action(() => Console.WriteLine ("command3 triggered"))),
- new Crow.Command("command4", new Action(() => Console.WriteLine ("command4 triggered"))),
- });
+ new Crow.Command("command4", new Action(() => Console.WriteLine ("command4 triggered")))
+ );
// += KeyboardKeyDown1;