Refactor events into their own package
Most of the existing actions are game actions (they control the player character) so they live in actions.game. Eventually, there will be modules for different kinds of actions that only apply to, e.g. modal UI.
This commit is contained in:
parent
46af8863b1
commit
ae1c7f5ce2
6 changed files with 114 additions and 90 deletions
|
@ -7,7 +7,8 @@ import numpy as np
|
|||
import tcod
|
||||
|
||||
from . import log
|
||||
from .actions import Action, BumpAction, WaitAction
|
||||
from .actions import Action
|
||||
from .actions.game import BumpAction, WaitAction
|
||||
from .components import Component
|
||||
from .geometry import Direction, Point
|
||||
from .object import Entity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue