ndouglas / downdelving-old

An experimental roguelike written in Rust.
The Unlicense
1 stars 0 forks source link

Health/death/body. #33

Open ndouglas opened 5 years ago

ndouglas commented 5 years ago

Story

I've been thinking about how to handle this -- give things a "health" component? A "fighter" component? Nothing sounded quite right.

I think a better approach might be to describe the physical form of the entity and how that can be damaged. Then we'll handle attack separately.

Body should be separate from species and breed.

Not sure how to figure out damage resistances, etc, but it'll come to me.

Acceptance Criteria

ndouglas commented 5 years ago

Currently, bodies are just a struct with total HP and current HP.

Ideas for the future: