Move the renderable part of Entity to a Renderable component
Move symbol, render order, foreground, and background properties on Entity to a new Component called Renderable.
This commit is contained in:
parent
01b549bc6e
commit
def79386d8
5 changed files with 80 additions and 71 deletions
|
@ -165,7 +165,7 @@ class Engine:
|
|||
|
||||
if log.ACTIONS_TREE.isEnabledFor(log.INFO) and self.map.visible[tuple(action.actor.position)]:
|
||||
if result.alternate:
|
||||
alternate_string = f'{result.alternate.__class__.__name__}[{result.alternate.actor.symbol}]'
|
||||
alternate_string = f'{result.alternate.__class__.__name__}[{result.alternate.actor}]'
|
||||
else:
|
||||
alternate_string = str(result.alternate)
|
||||
log.ACTIONS_TREE.info(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue