File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed
Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 11package bwapi ;
22
33/**
4- * Namespace containing damage types.
5- *
6- * @see DamageType
4+ * Enum containing damage types.
75 *
86 * [View on Liquipedia](http://wiki.teamliquid.net/starcraft/Damage_Type)<br>
97 * [View on Starcraft Campendium (Official Website)](http://classic.battle.net/scc/gs/damage.shtml)<br>
Original file line number Diff line number Diff line change 11package bwapi ;
22
3+ /**
4+ * Convenience class that extends all methods in {@link BWEventListener}.
5+ * Not all of the methods need an implementation.
6+ */
37public class DefaultBWListener implements BWEventListener {
48
59 public void onStart () {
610 }
711
8- public void onEnd (final boolean b ) {
12+ public void onEnd (final boolean isWinner ) {
913 }
1014
1115 public void onFrame () {
1216 }
1317
14- public void onSendText (final String s ) {
18+ public void onSendText (final String text ) {
1519 }
1620
17- public void onReceiveText (final Player player , final String s ) {
21+ public void onReceiveText (final Player player , final String text ) {
1822 }
1923
2024 public void onPlayerLeft (final Player player ) {
@@ -47,7 +51,7 @@ public void onUnitMorph(final Unit unit) {
4751 public void onUnitRenegade (final Unit unit ) {
4852 }
4953
50- public void onSaveGame (final String s ) {
54+ public void onSaveGame (final String text ) {
5155 }
5256
5357 public void onUnitComplete (final Unit unit ) {
Original file line number Diff line number Diff line change 33import java .util .Arrays ;
44
55/**
6- * Contains a list of event types supported by BWAPI.
6+ * Enum of event types supported by BWAPI.
77 */
88public enum EventType {
99 MatchStart (0 ),
You can’t perform that action at this time.
0 commit comments