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