fr.umlv.botbattle
Annotation Type BotImage
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface BotImage
Annotation that specifies the image used
to represent a bot.
This annotation must be set on the bot class :
&arobase;BotImage("bybot.gif")
public class MyBot implements Bot {
...
}
- Version:
- 1.0
- Author:
- remi
|
Required Element Summary |
String |
value
Returns the filename, relative to the bot class,
of the image representing the bot in the arena. |
value
public abstract String value
- Returns the filename, relative to the bot class,
of the image representing the bot in the arena.
- Returns:
- the filename of the bot image
- See Also:
Class.getResourceAsStream(java.lang.String)