Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xentronium
on July 28, 2013
|
parent
|
context
|
favorite
| on:
RubyWarrior - Bloc
> If there were multiple warriors then your code would no longer make sense, as the control logic would have to be changing the player_instance.warrior object.
You need to keep previous state about warrior. E.g. delta health.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
You need to keep previous state about warrior. E.g. delta health.