Re: 2D Framework released

at the tile class i think that there is no need for inheritance, i think it is better to write:

class tile {
string file;
bool passable;
int risc;
tile(string file, bool passable, int risc = 0) {
this.file = file;
this.passable = passable;
this.risc = risc;
}
}

it is sweet to write:
tile grass("grass.wav", true);
of corce inless inheritance is for other future use.
just an oppinion, anyway i'm ready to help this project at anytime.

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : brian . kurosawa via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : thggamer via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : brian . kurosawa via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : 2maidi via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : thggamer via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Orin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : thggamer via Audiogames-reflector

Reply via email to