refactor: set position up front
This commit is contained in:
parent
aed389c69a
commit
a2fff73cc7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user