Can I make my game code and object classes into one .m file.
Mostrar comentarios más antiguos
For my class project I have to hand in one MATLAB script(.m)file. Right now I have three .m files: AirHockey.m(this has all the game code), Puck.m(object class that has the properties and constructors for the puck), Blocker.m(object class that has the properies and constructors for the player controled blockers). How would I make these into one .m file and have the game still work.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Board games en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!