Create a class for towers. This class contain three objects as properties: model (tower.m), view (tower.v) and controller (tower.c). The model should contain one property: the type of tower (e.g. "lightning", "curse"). The view should be a phaser sprite. Finally, the controller should be an empty object.
Create a class for towers. This class contain three objects as properties: model (
tower.m
), view (tower.v
) and controller (tower.c
). The model should contain one property: the type of tower (e.g. "lightning", "curse"). The view should be a phaser sprite. Finally, the controller should be an empty object.