mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-08 00:38:38 +00:00
Random interface update
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
package org.parabot.environment.randoms;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author Everel
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public interface Random {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determines whether this random should activate
|
||||||
|
* @return <b>true</b> if this random should activate
|
||||||
|
*/
|
||||||
|
public boolean activate();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Executes this random
|
||||||
|
*/
|
||||||
|
public void execute();
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user