1
0

Implement CALL SPRITE

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

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;
}
}