Add getGlobalOldPos() helper to Actors
mattjennings opened this issue · comments
Matt Jennings commented
Context
Serves same purpose as this.oldPos
, but for the global position.
Proposal
Add this.getGlobalOldPos()
method to Actor.
Additional thought: any appetite for turning getGlobalPos()
into a getter?
class Actor {
get globalPos(): ex.Vector {
// do global pos logic
}
get globalOldPos(): ex.Vector {
// .. etc
}
}
Erik Onarheim commented
@mattjennings 100% totally agree.
I'm down to explore the getter 👍
github-actions commented
This issue hasn't had any recent activity lately and is being marked as stale automatically.