refactor: set position up front

This commit is contained in:
cha0s 2022-04-01 10:34:27 -05:00
parent aed389c69a
commit a2fff73cc7

View File

@ -261,6 +261,12 @@ export default (flecks) => class Vulnerable extends Trait {
fontSize,
},
},
Positioned: {
state: {
x: this.entity.x,
y: this.entity.y,
},
},
Textual: {
state: {
text: amount,