org.deken.game.movement
Interface MouseMovement

All Superinterfaces:
InputMouseListener, Movement, Updateable
All Known Implementing Classes:
MouseDragMovement

public interface MouseMovement
extends Movement, InputMouseListener

Title: MouseMovement

Description: TODO

Copyright: Copyright (c) 2007

Version:
1.0
Author:
Gary Deken

Method Summary
 void addInputMouseAction(InputMouseAction inputMouseAction, int action)
          addInputAction This method add an InputMouseAction to the MouseMovement, for the action.
 InputMouseAction[] getInputMouseActions()
          getInputMouseActions This methods returns the list of InputMouseActions for this MouseMovement.
 
Methods inherited from interface org.deken.game.movement.Movement
collideHorizontal, collideLayer, collideVertical, copy, getDirection, getGameVector, getXUpdate, getYUpdate, update
 
Methods inherited from interface org.deken.game.Updateable
getName
 
Methods inherited from interface org.deken.game.input.InputMouseListener
notifyListener
 

Method Detail

getInputMouseActions

InputMouseAction[] getInputMouseActions()
getInputMouseActions This methods returns the list of InputMouseActions for this MouseMovement.

Returns:
InputMouseAction[]

addInputMouseAction

void addInputMouseAction(InputMouseAction inputMouseAction,
                         int action)
addInputAction This method add an InputMouseAction to the MouseMovement, for the action.

Parameters:
inputMouseAction - InputMouseAction
action - int