public class Fleet extends DefConViewableObject
location, teamId, visible
Constructor and Description |
---|
Fleet(Fleet original)
Cloning constructor...
|
Fleet(int id,
int teamId,
DefConLocation location,
boolean visible,
int[] fleetMembers,
double time)
Creates new instance of object Fleet with specific id.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getFleetMembers()
An array of fleet members.
|
String |
toHtmlString()
Returns message in html format.
|
String |
toString()
Returns human readable serialization of the message.
|
getLocal, getLocation, getShared, getStatic, getStringizedFields, getTeamId, isVisible, setVisibility
createDestroyedEvent, createUpdateEvent, getDestroyed, getId, getLastSeenTime, getSimTime, getType, setLastSeenTime
public Fleet(int id, int teamId, DefConLocation location, boolean visible, int[] fleetMembers, double time)
id
- Game id of this object.teamId
- Id of this object's team.location
- Location of this object.visible
- Visibility of this object.fleetMembers
- An array of fleet members.time
- Time of last update of this object (time of first spotting in this case).public Fleet(Fleet original)
original
- Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.