flackr / dungeon

A D&D based multiplayer role playing game.
13 stars 4 forks source link

Implement multiple target selection for powers which use it. #22

Closed flackr closed 12 years ago

flackr commented 12 years ago

Summary

Some powers let you select up to X critters. We should be able to select / deselect on the map and have a button at the bottom-right which will confirm your selection. If the power only lets you select 1 critter then we shouldn't show this button at all and the attack will automagically happen after selecting the only critter.

There should also be shortcut keys for this button, probably enter or space to accept or escape to deselect all critters.

flackr commented 12 years ago

Implemented, you can select one or more targets, including selecting the same target more than once. Pressing escape removes the last added target. Pressing enter or space initiates the attack against your selected targets.