I am making a library for use with some of my games. so far it includes 3 classes:
well, I think the names speak for themselves, now the problem I have is that I would like to use level as sort of template for all levels. like
level lvl1 = new level();
which works, but when I put it in the program.cs to run it like this,
level lvl1 = new level(); Application.Run(lvl1());
this throws an error:
Error 1 'lvl1' is a 'variable' but is used like a 'method'
does anyone knows what I am doing wrong?