summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.monkey
diff options
context:
space:
mode:
authorTinnet Coronam <tinnet@coronam.net>2012-10-17 00:21:25 +0200
committerTinnet Coronam <tinnet@coronam.net>2012-10-17 00:21:25 +0200
commitdd066c54e36bfe535a4b13cd3dc6fc0fe083efe7 (patch)
tree0331b643174b1ab02a5ca03046fd24337d82b54e /tests/examplefiles/example.monkey
parente104f06f42384aa2d5f3e2c62c57ef66f21d8071 (diff)
downloadpygments-dd066c54e36bfe535a4b13cd3dc6fc0fe083efe7.tar.gz
some fixes to classnames (with generics and module paths)
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