Home | Trees | Indices | Help |
|
---|
|
object --+ | fife.fife.IMouseListener --+ | cursortool.CursorTool --+ | navigationtool.NavigationTool --+ | SelectionTool
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|||
Inherited from navigationtool.NavigationTool | |||
---|---|---|---|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from cursortool.CursorTool | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
_SELECTION_RECTANGLE_NAME = "_select"
|
|||
Inherited from |
|||
Inherited from navigationtool.NavigationTool | |||
---|---|---|---|
HOVER_INSTANCES_UPDATE_DELAY = 1
|
|||
consumed_by_widgets = False
|
|||
last_event_pos = fife.ScreenPoint(0, 0)
|
|||
last_hover_instances = WeakList()
|
|||
send_hover_instances_update = True
|
|||
Inherited from cursortool.CursorTool | |||
log = logging.getLogger("gui.mousetools")
|
|
|||
Inherited from |
|
__init__(FIFE::IMouseListener self) -> IMouseListener
|
|
Only keep instances belonging to the user. This is used for multiselection |
mouseDragged(IMouseListener self, MouseEvent evt)
|
mouseReleased(IMouseListener self, MouseEvent evt)
|
Called when selected instances changes. (Shows their menu) Does not do anything when nothing is selected, i.e. doesn't hide their menu. If one of the selected instances can attack, switch mousetool to AttackingTool. |
mousePressed(IMouseListener self, MouseEvent evt)
|
self.select_old are old instances still relevant now (esp. on ctrl)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Feb 17 03:00:18 2019 | http://epydoc.sourceforge.net |