-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathDefaultBWListener.java
More file actions
62 lines (43 loc) · 1.18 KB
/
DefaultBWListener.java
File metadata and controls
62 lines (43 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package bwapi;
/**
* Convenience class that extends all methods in {@link BWEventListener}.
* Not all of the methods need an implementation.
*/
public class DefaultBWListener implements BWEventListener {
public void onStart() {
}
public void onEnd(final boolean isWinner) {
}
public void onFrame() {
}
public void onSendText(final String text) {
}
public void onReceiveText(final Player player, final String text) {
}
public void onPlayerLeft(final Player player) {
}
public void onNukeDetect(final Position position) {
}
public void onUnitDiscover(final Unit unit) {
}
public void onUnitEvade(final Unit unit) {
}
public void onUnitShow(final Unit unit) {
}
public void onUnitHide(final Unit unit) {
}
public void onUnitCreate(final Unit unit) {
}
public void onUnitDestroy(final Unit unit) {
}
public void onUnitMorph(final Unit unit) {
}
public void onUnitRenegade(final Unit unit) {
}
public void onSaveGame(final String text) {
}
public void onUnitComplete(final Unit unit) {
}
public void onPlayerDropped(final Player player) {
}
}