.col() and .offset() impls for TileTypes - and some more sprites in
This commit is contained in:
parent
40b048fd65
commit
396d548bf2
7 changed files with 414 additions and 253 deletions
|
|
@ -295,7 +295,9 @@ impl<'a> System<'a> for MeleeCombatSystem {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Take out these animations (and for missing too), and turn
|
||||
// them into effects - can use the damage type that gets passed in
|
||||
// to determine the effect, colour, etc.
|
||||
let pos = positions.get(wants_melee.target);
|
||||
if let Some(pos) = pos {
|
||||
particle_builder.damage_taken(pos.x, pos.y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue