flash on 2010-10-15

by enecre
♥0 | Line 25 | Modified 2010-10-16 10:15:07 | MIT License
play

ActionScript3 source code

/**
 * Copyright enecre ( http://wonderfl.net/user/enecre )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/qKhe
 */

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            
        }
    }
}
class Test implements B{
    public function hoge():void{
        
    }

    public function discard(id:int):void{
        
    }
    
    public function reach(id:int):void{
        
    }
    
    public function naki(type:int, hai0:int = -1, hai1:int = -1):void{
        
    }
}


interface A{
    function hoge():void;
}

interface B extends A{
    function discard(id:int):void;
    function reach(id:int):void;//仮にきる牌を決定.ツモ切りだと聴牌が保証されない.
    function naki(type:int, hai0:int = -1, hai1:int = -1):void;
}