On Saturday, 4 April 2015 at 02:34:59 UTC, Craig Dillabaugh wrote:
One small note about the tutorials. In the tutorial on
Game Loop and Event handling:
http://rswhite.de/dgame5/?page=tutorial&tut=handle_events
In the first example, I believe you are missing an import for
Dgame.Window.Event. It shows up int the second example, so no
big deal, but I figured I should let you know.
Are the tutorials on GitHub too?
Craig
Hey thanks for the note, but Dgame.Window is a package import:
https://github.com/Dgame/Dgame/blob/master/source/Dgame/Window/package.d
As you can see, the Event is public imported.
And yes, the tutorials (the source codes) are on Github:
https://github.com/Dgame/Dgame-Tutorial
With an click on "Show Raw" on the tutorial page you can get the
snippet also. :)