summaryrefslogtreecommitdiffstats
path: root/src/CBot/tests/scenarios/plante.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CBot/tests/scenarios/plante.txt')
-rw-r--r--src/CBot/tests/scenarios/plante.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/CBot/tests/scenarios/plante.txt b/src/CBot/tests/scenarios/plante.txt
new file mode 100644
index 0000000..363461b
--- /dev/null
+++ b/src/CBot/tests/scenarios/plante.txt
@@ -0,0 +1,25 @@
+class Guepet
+{
+
+ point pos;
+ float t = 0.1;
+
+ void init()
+ {
+ pos.x = 12.123;
+ pos.y = 34.345;
+
+ F(t);
+ }
+
+
+}
+
+extern void object::Fourmi6()
+{
+ Guepet guepe=new Guepet();
+
+ guepe.init();
+
+ show ( guepe );
+}