use of org.apollo.game.message.impl.UpdateRunEnergyMessage in project apollo by apollo-rsps.
the class Player method setRunEnergy.
/**
* Sets the player's run energy.
*
* @param energy The energy.
*/
public void setRunEnergy(int energy) {
attributes.set("run_energy", new NumericalAttribute(energy));
send(new UpdateRunEnergyMessage(energy));
}
Aggregations