Annotation Interface CombatInfo
This annotation provides initial values for combat entity attributes. It can be applied to types (classes, interfaces, etc.) and is inherited by
subclasses.
Attributes:
- hitpoints: The initial hitpoints of the combat entity. Default is
CombatEntity.DEFAULT_HITPOINTS. - team: The team number of the combat entity. Default is 0.
- isIndestructible: Indicates whether the combat entity is indestructible. Default is false.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintThe initial hitpoints of the combat entity.booleanIndicates whether the combat entity is indestructible.intThe team number of the combat entity.
-
Element Details
-
hitpoints
int hitpointsThe initial hitpoints of the combat entity. Defaults toCombatEntity.DEFAULT_HITPOINTS.- Returns:
- the initial hitpoints
- Default:
100
-
team
int teamThe team number of the combat entity. Defaults to 0.- Returns:
- the team number
- Default:
0
-
isIndestructible
boolean isIndestructibleIndicates whether the combat entity is indestructible. Defaults to false.- Returns:
- true if the entity is indestructible, false otherwise
- Default:
false
-