going-rogue/roguebasin
Eryn Wells 4002b64640 Attack!!!
Refactor MovePlayerAction into a few different Action subclasses. Move direction
to a parent MoveAction, and create three new subclasses of MoveAction:

    - BumpAction: perform the test that an action can be performed in the given direction
    - WalkAction, take a step in the given direction
    - MeleeAction, attack another Entity in the given direction

Add an ActionResult class that communicates the result of performing an Action.

    - ActionResult.succeeded indicates whether the action succeeded.
    - ActionResult.done indicates if the action is fully complete or requires followup.
    - ActionResult.alternate specifies the follow-up action to perform.

Convert all the key handling actions to BumpActions.

In the Engine's event handler method, loop until an action is completed,
performing specified alternate actions until the result object indicates the
action is done.
2022-05-07 11:16:17 -07:00
..
__init__.py Reorganize the package 2022-05-07 08:51:44 -07:00
__main__.py Some more fixes from the linter 2022-05-07 09:57:39 -07:00
actions.py Attack!!! 2022-05-07 11:16:17 -07:00
engine.py Attack!!! 2022-05-07 11:16:17 -07:00
events.py Attack!!! 2022-05-07 11:16:17 -07:00
geometry.py Attack!!! 2022-05-07 11:16:17 -07:00
map.py Some more fixes from the linter 2022-05-07 09:57:39 -07:00
monsters.py Add monsters module and define Species, Monster, Orc, and Troll 2022-05-06 21:16:19 -07:00
object.py Create a Hero class for the character the player moves; stop using tcod.Color for foreground and background; use tuples instead 2022-05-06 21:16:00 -07:00
tile.py Add a map shroud over tiles and compute field of view based on player position!!! 2022-05-04 09:22:40 -07:00