universum.bi
Interface Being

All Superinterfaces:
Entity

public interface Being
extends Entity

Being is interface for living creatures.


Method Summary
 java.lang.String getName()
          Being's name, could be anything, for unique id use id returned by BeingInterface.getId(Entity e)
 java.lang.String getOwnerName()
          Name of the player who owns this being, used only once to create first being, all others inherit the same owner
 BeingParams getParams()
          Parameters of being, used only once to create first being, for others BeingParams defined by parent (argument to BEING_BORN event)
 void reinit(UserGameInfo info)
          Invoked once per externally added being, before game start, provides basic information about game it will participate in
 
Methods inherited from interface universum.bi.Entity
makeTurn, processEvent
 

Method Detail

reinit

void reinit(UserGameInfo info)
Invoked once per externally added being, before game start, provides basic information about game it will participate in


getName

java.lang.String getName()
Being's name, could be anything, for unique id use id returned by BeingInterface.getId(Entity e)

Returns:
being name
See Also:
BeingInterface

getOwnerName

java.lang.String getOwnerName()
Name of the player who owns this being, used only once to create first being, all others inherit the same owner

Returns:
owner name

getParams

BeingParams getParams()
Parameters of being, used only once to create first being, for others BeingParams defined by parent (argument to BEING_BORN event)

Returns:
being parameters
See Also:
Event, EventKind