Package rsb.internal
Class ClientThread
java.lang.Object
rsb.internal.ClientThread
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidImmediately invokes a runnable onto the client threadvoidWill run r on the game thread, at a unspecified point in the future.voidWill run r on the game thread after this method returns If r returns false, r will be ran again, at a later pointvoidAdds a conditional to validate onto the client thread queue
-
Constructor Details
-
ClientThread
public ClientThread()
-
-
Method Details
-
invoke
Immediately invokes a runnable onto the client thread- Parameters:
r- a runnable
-
invoke
Will run r on the game thread, at a unspecified point in the future. If r returns false, r will be ran again, at a later point- Parameters:
r- the conditional to validate
-
invokeLater
Will run r on the game thread after this method returns If r returns false, r will be ran again, at a later point- Parameters:
r- the runnable to invoke on the client thread
-
invokeLater
Adds a conditional to validate onto the client thread queue- Parameters:
r- the conditional to add to the client thread queue
-