Difference between revisions of "Talk:Energy Management"
(→Merge with Selecting Fire Power: agree) |
|||
Line 16: | Line 16: | ||
Agree, only if energy management is just fire power (which it is now), but if anyone can figure out energy management to be used in other part (such as dodging), then I'll disagree. » <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> » 13:09, 20 May 2009 (UTC) | Agree, only if energy management is just fire power (which it is now), but if anyone can figure out energy management to be used in other part (such as dodging), then I'll disagree. » <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> » 13:09, 20 May 2009 (UTC) | ||
+ | |||
+ | With Robocode 2, maybe they could be separate, but in Robocode 1, there is only one way to spend energy, and that's by firing bullets. I'd also vote for merging them. --[[User:Voidious|Voidious]] 14:04, 20 May 2009 (UTC) |
Revision as of 15:04, 20 May 2009
|
Old Wiki
Out of curiousity, does anyone know the most commonly called getXXX() methods?--Starrynte
I'm not really sure what you mean. You call those methods in your bot, so it really depends which ones you decide to call the most. Also, what does this have to do with EnergyManagement? --wcsv
Maybe...because if you call getXXX() you can get disabled. I'll post on Starrynte then (my reason is a lame one)--Starrynte
You can only call getXXX methods something like 10,000 times per tick. Maybe you are forgetting to call execute() in the while() loop of your run method? If you really need to do 10,000 things wih a value in one tick, just assign it to a variable instead of using getXXX in your loop. -- Voidious
Merge with Selecting Fire Power
To me, it seems this page and Selecting Fire Power are rather redundant and should be merged in one direction or another. Any thoughts? --Rednaxela 12:41, 20 May 2009 (UTC)
Agree, only if energy management is just fire power (which it is now), but if anyone can figure out energy management to be used in other part (such as dodging), then I'll disagree. » Nat | Talk » 13:09, 20 May 2009 (UTC)
With Robocode 2, maybe they could be separate, but in Robocode 1, there is only one way to spend energy, and that's by firing bullets. I'd also vote for merging them. --Voidious 14:04, 20 May 2009 (UTC)