public abstract class AColorDetectionModule extends java.lang.Object implements IColorDetectionModule
| Modifier and Type | Field and Description |
|---|---|
protected com.mytechia.robobo.framework.remote_control.remotemodule.IRemoteControlModule |
rcmodule |
| Constructor and Description |
|---|
AColorDetectionModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
notifyColor(int colorrgb,
int nearest_color) |
void |
suscribe(IColorListener listener)
Suscribes a listener to the newcolor notifications
|
void |
unsuscribe(IColorListener listener)
Unsuscribes a listener from the newcolor notifications
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpauseDetection, startDetectionprotected com.mytechia.robobo.framework.remote_control.remotemodule.IRemoteControlModule rcmodule
public void suscribe(IColorListener listener)
IColorDetectionModulesuscribe in interface IColorDetectionModulelistener - The listener to be addedpublic void unsuscribe(IColorListener listener)
IColorDetectionModuleunsuscribe in interface IColorDetectionModulelistener - The listener to be removedprotected void notifyColor(int colorrgb,
int nearest_color)