Implement CALL SPRITE

This commit is contained in:
otya128 committed 2016-12-31 13:40:44 +09:00
1 parent 803538d358
commit 4eb6a1fc98
7 files changed
+190 -61

No files matched your search

+18
View File
@@ -51,6 +51,8 @@ enum NodeType
Exec,
Use,
Linput,
CallSprite,
CallBG,
}
abstract class Node
{
@@ -697,3 +699,19 @@ class Linput : Statement
this.expression = expr;
}
}
class CallSprite : Statement
{
this(SourceLocation loc)
{
super.location = loc;
this.type = NodeType.CallSprite;
}
}
class CallBG : Statement
{
this(SourceLocation loc)
{
super.location = loc;
this.type = NodeType.CallBG;
}
}