Class MonsterControl<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.gui.panel.connectionview.Control<GameObject<G,A,R>,G,A,R>
-
- net.sf.gridarta.gui.panel.connectionview.MonsterControl<G,A,R>
-
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>
The controller of the monster view control.
-
-
Constructor Summary
Constructors Constructor Description MonsterControl(@NotNull MapViewManager<G,A,R> mapViewManager, @NotNull DelayedMapModelListenerManager<G,A,R> delayedMapModelListenerManager, @NotNull GameObjectMatcher monsterMatcher)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoubleClick(@NotNull Connection<GameObject<G,A,R>> connection)Called if an entry is double-clicked.
-
-
-
Constructor Detail
-
MonsterControl
public MonsterControl(@NotNull @NotNull MapViewManager<G,A,R> mapViewManager, @NotNull @NotNull DelayedMapModelListenerManager<G,A,R> delayedMapModelListenerManager, @NotNull @NotNull GameObjectMatcher monsterMatcher)Creates a new instance.- Parameters:
mapViewManager- the map view managerdelayedMapModelListenerManager- the delayed map model listener manager to usemonsterMatcher- theGameObjectMatcherfor matching monster objects
-
-
Method Detail
-
doubleClick
protected void doubleClick(@NotNull @NotNull Connection<GameObject<G,A,R>> connection)Description copied from class:ControlCalled if an entry is double-clicked.- Specified by:
doubleClickin classControl<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>>- Parameters:
connection- the first selected connection
-
-