~extremepopcorn/dhlib/dhlib_ep

« back to all changes in this revision

Viewing changes to restricted/app-fortress/fortress/BuildEvent.hx

  • Committer: edA-qa mort-ora-y
  • Date: 2010-02-16 05:36:32 UTC
  • Revision ID: eda-qa@disemia.com-20100216053632-60lt7fndfi3fgblw
first

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package fortress;
 
2
 
 
3
class BuildEvent extends gamex.BaseEvent
 
4
{
 
5
        static public var BUILD_COMPLETE : String = 'fort_buildobjover';        //a building was complete
 
6
        static public var BUILD_CANCEL : String = 'fort_buildcancel';   //cancle current build object (no buildObj)
 
7
                
 
8
        public var buildObj : BuildObject ;     //the object involved in the event [read-only]
 
9
        
 
10
        public function new( type : String, bo : BuildObject )
 
11
        {
 
12
                buildObj = bo;
 
13
                super( type );
 
14
        }
 
15
}