cz.cuni.amis.nb.pogamut.unreal.timeline.records
Class MapEvent

Package class diagram package MapEvent
java.lang.Object
  extended by cz.cuni.amis.nb.pogamut.unreal.timeline.records.MapEvent
All Implemented Interfaces:
Serializable

public class MapEvent
extends Object
implements Serializable

Author:
Honza
See Also:
Serialized Form

Method Summary
 long getDuration()
           
 cz.cuni.amis.pogamut.base3d.worldview.object.Location getLocation(long time)
          Get location of MapEvent at specified time, wheather it follows player or is placed at some position.
 cz.cuni.amis.pogamut.base.utils.logging.marks.LogMapMark getMark()
           
 String getMessage()
           
 long getStartTS()
           
 boolean shouldFollowPlayer()
          Should this map mark follow the player?
 boolean timeframeContains(long time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMessage

public String getMessage()

getMark

public cz.cuni.amis.pogamut.base.utils.logging.marks.LogMapMark getMark()

getStartTS

public long getStartTS()

getDuration

public long getDuration()

timeframeContains

public boolean timeframeContains(long time)

shouldFollowPlayer

public boolean shouldFollowPlayer()
Should this map mark follow the player?

Returns:

getLocation

public cz.cuni.amis.pogamut.base3d.worldview.object.Location getLocation(long time)
Get location of MapEvent at specified time, wheather it follows player or is placed at some position.

Parameters:
time - time for which we want position of MapEvent
Returns:
copy of computed location of map mark


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.