I want to use the mvc for my 2d rpg game. I know there are newer and better design patterns than mvc, hoping just using this
But I dont know how arccurately I've understanded it.
So I wonder- this mvc:
Model: the trait of palyer and weapon(data) and the skill of them(method)
Control: Control collects the datas(trait) and methods(skill) from both player and weapon, resulting a overall trait data and skill method, applying the skill method to ones enemy. Also, send a imfortant infomation to View.
View: View makes the moniter sawn.
- is correct.
mvcmvcmbcmvcmvcmvcmvc
Aucun commentaire:
Enregistrer un commentaire