summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.monkey
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/example.monkey')
-rw-r--r--tests/examplefiles/example.monkey17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/examplefiles/example.monkey b/tests/examplefiles/example.monkey
index 524e7012..df310ff7 100644
--- a/tests/examplefiles/example.monkey
+++ b/tests/examplefiles/example.monkey
@@ -52,9 +52,26 @@ Class Game Extends App
End
+Class Enemy
+ Method Die () Abstract
+End
+
+Class Hoodlum Extends Enemy
+ Local currentNode:list.Node<Vector2D>
+
+ ' Must implement Die method...
+
+ Method Die ()
+ Print "B'oss, he-- he killed me, b'oss!"
+ End
+
+End
+
Class VectorNode Extends Node<Vector2D>
End
+
+
Function Main()
New Game()
End