Class LeftMovement
- java.lang.Object
 - 
- edu.ubo.satellitebeacons.main.movable.movement.LeftMovement
 
 
- 
- All Implemented Interfaces:
 DestinationReachEmitter,Emitter,DirectionalMovement,Movement
public class LeftMovement extends java.lang.Object implements DirectionalMovement
 
- 
- 
Constructor Summary
Constructors Constructor Description LeftMovement(int min, int speed) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <E extends java.util.EventObject>
Listener<E>addEventListener(java.lang.Class<E> event, Listener<E> l)Add a new event listener.voidemitMaxReach()voidmove(Movable movable)Move a movable.- 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface edu.ubo.satellitebeacons.main.event.emitter.Emitter
removeEventListener 
 - 
 
 - 
 
- 
- 
Method Detail
- 
addEventListener
public <E extends java.util.EventObject> Listener<E> addEventListener(java.lang.Class<E> event, Listener<E> l)
Description copied from interface:EmitterAdd a new event listener. The listener will be call every time where the event is emitted.- Specified by:
 addEventListenerin interfaceEmitter- Type Parameters:
 E- Any event based on EventObject.- Parameters:
 event- Event that will be listened to.l- Listener to call when the event is emitted.- Returns:
 - The listener if it is correctly registered otherwise 
null. 
 
- 
emitMaxReach
public void emitMaxReach()
- Specified by:
 emitMaxReachin interfaceDestinationReachEmitter
 
 - 
 
 -