logan-r / vilify

Unleash Your Inner Mad Scientist and Destroy the World (with Ice Cream) in this Open Source HTML5 Game
http://logan-r.github.io/vilify/
GNU General Public License v3.0
32 stars 25 forks source link

Monster and Tower Destinations #107

Closed logan-r closed 9 years ago

logan-r commented 9 years ago

Add a destination property to monsters and towers. For monsters, this property is an x, y position which the monster should move toward until it reaches it, at which point the monster should enter an idle state until it has another destination. For towers, this property is an angle which the tower should keep rotating its turret towards until it reach it, at which point it should stop rotating until it has a different destination point.