| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IMovementKeys | |
|---|---|
| ballwar.model | |
| Uses of IMovementKeys in ballwar.model | 
|---|
| Fields in ballwar.model declared as IMovementKeys | |
|---|---|
| static IMovementKeys | IMovementKeys.ARROWSENDA predefined set of movement keys where the arrow keys ("UP", "DOWN", "LEFT" and "RIGHT") are associated with their respective directions and the "END" key is associated with stopping. | 
| static IMovementKeys | IMovementKeys.WASDXA predefined set of movement keys where "W" = up, "A" = left, "S" = stop, "D" = right, and "X"=down. | 
| Methods in ballwar.model that return IMovementKeys | |
|---|---|
|  IMovementKeys | IPlayer.getMovementKeys()Get the set of movement keys associated with this player. | 
| Methods in ballwar.model with parameters of type IMovementKeys | |
|---|---|
|  IPlayer | BallModel.makePlayer(String name,
           IMovementKeys keys)Makes a play8er object given a name and a set of movement keys. | 
|  void | IBallEnvironment.registerMovementKeys(IMovementKeys keys,
                     IMoveable m)Takes an IMovementKeys object which defines a set of movement keys and associates the pressing of each key with its respective behavior in the given IMoveable object. | 
|  void | BallModel.registerMovementKeys(IMovementKeys keys,
                     IMoveable m)Registers a set of movement keys, as defined by an IMovementKeys object, with the view. | 
|  void | IPlayer.setMovementKeys(IMovementKeys keys)Set the set of movement keys to be associated with this player. | 
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||