Changing my main()

Plankeye

New Member
I am going to change my main too. Going to refactor it to be more memory friendly and execute faster. My new main is:

Code:
function main():void {
     var Sandric:Paladin = new Paladin();
     Sandric.pwnNewbs();
}

package Paladin extends Warrior, Priest {
     function Paladin() {
          super();
     }

     function pwnNewbs():void {
          this.bubble();
          this.hearth();
     }
}
 
Yup, reduced the code in my main from 1000 lines of cool down management loops down to two lines of pure win.
 
Back
Top