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

Create Item Class #89

Closed logan-r closed 9 years ago

logan-r commented 9 years ago

Create a class for items. This class contain three objects as properties: model (hero.m), view (hero.v) and controller (hero.c). The model should have type property (i.e. "tech", "alien", or "chemical". The view should be a phaser sprite. Finally, the controller should be an empty object.