This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package; | |
| import haxe.macro.Context; | |
| import haxe.macro.Expr; | |
| import sys.FileSystem; | |
| using sys.io.File; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type direction = Up | Right | Down | Left;; | |
| type position = Pos of int * int * direction;; | |
| let point_of (Pos(x,y,dir)) = (x,y);; | |
| let p = Pos(3,4,Up);; | |
| point_of p;; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package tools; | |
| import flambe.display.ImageSprite; | |
| import flambe.display.Texture; | |
| import flambe.System; | |
| /** | |
| * ... | |
| * @author lordkryss | |
| */ |
NewerOlder