vooga.replay.core
Class UserAction

java.lang.Object
  extended by vooga.replay.core.UserAction
All Implemented Interfaces:
java.io.Serializable

public class UserAction
extends java.lang.Object
implements java.io.Serializable

This class represents a User Action.

Author:
Carrie Ho, Tom Donnelly, Van Dang
See Also:
Serialized Form

Constructor Summary
UserAction(java.lang.Object userAction, long time, boolean isFromNetwork)
           
 
Method Summary
 java.lang.Object getUserAction()
          Gets the user action
 boolean isFromNetwork()
          Returns whether or not the user action is from then network
 long time()
          Gets the time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAction

public UserAction(java.lang.Object userAction,
                  long time,
                  boolean isFromNetwork)
Method Detail

getUserAction

public java.lang.Object getUserAction()
Gets the user action

Returns:
the user action

time

public long time()
Gets the time

Returns:
time the action occurred

isFromNetwork

public boolean isFromNetwork()
Returns whether or not the user action is from then network

Returns:
whether or not the user action is from then network