Class ReadyEvent

  • All Implemented Interfaces:
    Event

    public class ReadyEvent
    extends java.lang.Object
    implements Event
    Payload that accompanies the onReady() event.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double mSetupTime  
    • Constructor Summary

      Constructors 
      Constructor Description
      ReadyEvent​(double setupTime)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getSetupTime()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mSetupTime

        public final double mSetupTime
    • Constructor Detail

      • ReadyEvent

        public ReadyEvent​(double setupTime)
    • Method Detail

      • getSetupTime

        public double getSetupTime()
        Returns:
        The amount of time (in milliseconds) for the player to go from setup() to ready.