[Home]History of PowerUpMod

Robo Home | Changes | Preferences | AllPages


Revision 9 . . November 12, 2003 19:07 EST by Tango
Revision 8 . . November 12, 2003 17:16 EST by Vuen
  

Difference (from prior major revision) (no other diffs)

Changed: 35c35,37
I think I'll make an interface called CakeI? that contains every method that the rest of my classes need, then make a robot Cake that extends CoopRobot, one CakePW? that extends PowerUpRobot?, and one CakeDM? that extends DeathMatchRobot?, all of them implementing CakeI?. This will allow me to keep the same code and add ifs when I want to handle the game options (using a getGameMode?() method in CakeI?) for all modes of Cake. I'll likely implement the same thing in Fractal soon before it gets too complicated so that I can do this easily with Fractal once it becomes melee. -- Vuen
I think I'll make an interface called CakeI? that contains every method that the rest of my classes need, then make a robot Cake that extends CoopRobot, one CakePW? that extends PowerUpRobot?, and one CakeDM? that extends DeathMatchRobot?, all of them implementing CakeI?. This will allow me to keep the same code and add ifs when I want to handle the game options (using a getGameMode?() method in CakeI?) for all modes of Cake. I'll likely implement the same thing in Fractal soon before it gets too complicated so that I can do this easily with Fractal once it becomes melee. -- Vuen

Sounds very complicated, but it seems like a good idea. You should be able to merge DMR and PUR quite easily. There is very little in PUR, all the complicated bits are in PowerUp?. -- Tango

Robo Home | Changes | Preferences | AllPages
Search: