Dragonfly Q&A

Error in type declaration for MAX_SPRITES

0 like 0 dislike
On slide 209, the following code is present:<br><br>

<code>const std::string MAX_SPRITES = 1000;</code><br><br>

I assume this is supposed to be an int, not a std::string?
Dragonfly version v4.0
asked Sep 23, 2015 by Andrew

1 Answer

0 like 0 dislike
Yes, it should be:

const int MAX_SPRITES = 1000;
answered Sep 23, 2015 by claypool
More information about Dragonfly can be found on the Dragonfly Home Page.