Package mindustry.game
Class Team
java.lang.Object
mindustry.game.Team
- All Implemented Interfaces:
Comparable<Team>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Team[]
All 256 registered teams.static final Team[]
The 6 base teams used in the editor.static final Team
final Color
static final Team
static final Team
static final Team
boolean
final int
static final Team
static final Team
final Color[]
final int[]
static final Team
-
Constructor Summary
-
Method Summary
-
Field Details
-
id
public final int id -
color
-
palette
-
palettei
public final int[] palettei -
emoji
-
hasPalette
public boolean hasPalette -
name
-
all
All 256 registered teams. -
baseTeams
The 6 base teams used in the editor. -
derelict
-
sharded
-
crux
-
malis
-
green
-
blue
-
neoplastic
-
-
Constructor Details
-
Team
-
Team
Specifies a 3-color team palette.
-
-
Method Details
-
get
-
items
- Returns:
- the core items for this team, or an empty item module. Never add to the resulting item module, as it is mutable.
-
rules
- Returns:
- the team-specific rules.
-
data
-
core
-
active
public boolean active() -
isAI
public boolean isAI()- Returns:
- whether this team is supposed to be AI-controlled.
-
isOnlyAI
public boolean isOnlyAI()- Returns:
- whether this team is solely comprised of AI (with no players possible).
-
needsFlowField
public boolean needsFlowField()- Returns:
- whether this team needs a flow field for "dumb" wave pathfinding.
-
isEnemy
Deprecated.There is absolutely no reason to use this. -
cores
-
localized
-
coloredName
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Team>
-
toString
-