Re: Shooter with C#
Hi,
it's a WPF app. WPF apps consist of classes for each window, which are event driven.
What is Main method in a console app is MainWindow's constructor in WPF app, you can do some initialization there. You then just react to events, such as key presses, button presses etc.
There is Main method of course, because it must be there, however it's autogenerated and not meaned for human's use, it's rewritten during compilation if changes are made to it. You can find it in SampleGame\SampleGame\obj\debug\App.g.cs, if you're interested what's inside.
Best regards
Rastislav
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector