Dgame RC #1
Namespace via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sat Apr 4 02:25:07 PDT 2015
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. :)
More information about the Digitalmars-d-announce
mailing list