|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface BotNumber
Defines the default number of bot of an army. This annotation may be set on the bot class :
&arobase;BotNumber(3)
public class MyBot implements Bot {
...
}
| Required Element Summary | |
|---|---|
int |
value
Returns the preferred number of bots. |
| Element Detail |
|---|
public abstract int value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||