blob: 243a3c0d883c71fc4aeb7a0ca69cef82302d480a [file] [log] [blame] [raw]
package universalelectricity.api.net;
public interface IUpdate
{
/**
* Updates the network. Called by the {NetworkTickHandler}.
*/
public void update();
/**
* Can the network update?
*
* @return True if the network can update, otherwise the network tick handler will remove the
* network from the tick list.
*/
public boolean canUpdate();
/**
* @return True to leave the network in the ticker. False to remove the network from the ticker.
*/
public boolean continueUpdate();
}