public class TKLauncher extends Agent
AbstractAgent.ReturnCode, AbstractAgent.State
logger
Constructor and Description |
---|
TKLauncher() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate() |
protected void |
createSimulationInstance() |
protected static void |
executeThisLauncher(String... args)
This offers a convenient way to create a main method
that launches a simulation using the environment
class under development.
|
int |
getHeight() |
int |
getWidth() |
protected void |
initProperties() |
protected void |
launchConfigTurtles() |
protected void |
launchScheduler() |
protected void |
launchViewers() |
protected void |
live() |
static void |
main(String[] args) |
void |
setHeight(int height) |
void |
setWidth(int width) |
broadcastMessageWithRoleAndWaitForReplies, getThreadPriority, isDaemon, killAgent, pause, sendMessageAndWaitForReply, sendMessageAndWaitForReply, sendMessageAndWaitForReply, sendMessageAndWaitForReply, sendMessageWithRoleAndWaitForReply, sendMessageWithRoleAndWaitForReply, sendMessageWithRoleAndWaitForReply, sendMessageWithRoleAndWaitForReply, sendReplyAndWaitForReply, sendReplyAndWaitForReply, sendReplyWithRoleAndWaitForReply, sendReplyWithRoleAndWaitForReply, setThreadPriority, waitAnswer, waitAnswer, waitNextMessage, waitNextMessage, waitNextMessage, waitNextMessage
broadcastMessage, broadcastMessageWithRole, bucketModeCreateGroup, bucketModeRequestRole, checkAgentAddress, compareTo, createGroup, createGroup, createGroup, createGroupIfAbsent, createGroupIfAbsent, createGroupIfAbsent, createGUIOnStartUp, destroyCommunity, destroyGroup, destroyRole, end, executeThisAgent, executeThisAgent, executeThisAgent, getAgentAddressIn, getAgentsWithRole, getAgentsWithRole, getAgentWithRole, getDistantAgentWithRole, getExistingCommunities, getExistingGroups, getExistingRoles, getKernelAddress, getLogger, getMadkitConfig, getMadkitProperty, getMadkitProperty, getMyGroups, getMyRoles, getName, getNetworkID, getOrganizationSnapShot, getReplyTo, getServerInfo, getSimpleNetworkID, getState, hasGUI, hashCode, hasRole, isAlive, isCommunity, isGroup, isKernelOnline, isMadkitPropertyTrue, isMessageBoxEmpty, isRole, killAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgentBucket, launchAgentBucket, launchAgentBucket, launchAgentBucket, launchNode, launchXmlAgents, leaveGroup, leaveRole, nextMessage, nextMessage, nextMessages, proceedEnumMessage, purgeMailbox, receiveMessage, reload, requestRole, requestRole, sendMessage, sendMessage, sendMessageWithRole, sendMessageWithRole, sendReply, sendReplyWithRole, setLogLevel, setMadkitProperty, setMadkitProperty, setName, setupFrame, toString
protected void activate()
activate
in class AbstractAgent
protected void createSimulationInstance()
protected void launchScheduler()
protected void launchViewers()
protected void initProperties()
public static void main(String[] args)
protected static void executeThisLauncher(String... args)
args
- MaDKit or TurtleKit optionsAbstractAgent.executeThisAgent(int, boolean, String...)
protected void launchConfigTurtles()
public int getWidth()
public void setWidth(int width)
width
- the width to setpublic int getHeight()
public void setHeight(int height)
height
- the height to set