public class MonsterControl<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends Control<GameObject<G,A,R>,G,A,R>
| Constructor and Description |
|---|
MonsterControl(@NotNull MapViewManager<G,A,R> mapViewManager,
@NotNull DelayedMapModelListenerManager<G,A,R> delayedMapModelListenerManager,
@NotNull GameObjectMatcher monsterMatcher)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doubleClick(@NotNull Connection<GameObject<G,A,R>> connection)
Called if an entry is double-clicked.
|
public MonsterControl(@NotNull
@NotNull MapViewManager<G,A,R> mapViewManager,
@NotNull
@NotNull DelayedMapModelListenerManager<G,A,R> delayedMapModelListenerManager,
@NotNull
@NotNull GameObjectMatcher monsterMatcher)
mapViewManager - the map view managerdelayedMapModelListenerManager - the delayed map model listener
manager to usemonsterMatcher - the GameObjectMatcher for matching monster
objectsprotected void doubleClick(@NotNull
@NotNull Connection<GameObject<G,A,R>> connection)
ControldoubleClick in class Control<GameObject<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>,G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>connection - the first selected connection