
org.codemonkey.swiftworldclient.WorldContext Maven / Gradle / Ivy
package org.codemonkey.swiftworldclient;
/**
* Client messages are executed against a WorldContext
implementation allowing those messages to invoke world specific methods
* (ie. mySpaceGame.buyShip(id)
).
*
* In addition some hooks are available to the {@link WorldClient}, to interact with the current WorldContext
implementation
* (such as {@link #initWorld()}).
*
* @author Benny Bottema
* @since 1.0
*/
public interface WorldContext {
/**
* Called when the server is being started.
*
* @see WorldClient#start()
*/
void initWorld();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy