SHOW:
|
|
- or go back to the newest paste.
| 1 | - | interface IFoo |
| 1 | + | interface IFoo |
| 2 | {
| |
| 3 | - | var test:Int; |
| 3 | + | var testvar:Int; |
| 4 | function testfunc():Void; | |
| 5 | } | |
| 6 | class Foo implements IFoo | |
| 7 | - | public var test:Int; |
| 7 | + | |
| 8 | public var testvar:Int; | |
| 9 | public function new(){}
| |
| 10 | public function testfunc():Void | |
| 11 | {
| |
| 12 | } | |
| 13 | } | |
| 14 | class Main extends MovieClip | |
| 15 | {
| |
| 16 | public function new() | |
| 17 | {
| |
| 18 | super(); | |
| 19 | var f = new Foo(); | |
| 20 | } | |
| 21 | ||
| 22 | public static function main() | |
| 23 | {
| |
| 24 | Lib.current.addChild(new Main()); | |
| 25 | } | |
| 26 | } |