alert the robot if it's been hit

This commit is contained in:
Fraser Graham
2013-11-06 23:06:51 -08:00
parent 082b737805
commit d2ae3c11d8
3 changed files with 4 additions and 4 deletions
+1
View File
@@ -108,6 +108,7 @@ func (p *player) checkCollisions(g *game, move_vector v.Vector2d) (bool, v.Point
func (p *player) Tick(g *game) {
p.Robot.Collision = false
p.Robot.Hit = false
p.scan(g)
// Adjust Speed