[Dgame] Sprite loading and setting position in another class

Namespace via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 25 06:26:09 PDT 2015


Note that Texture is (in constrast to Sprite) a struct and not a 
class, so it is a value type. Dgame tries to use as many value 
types as possible to reduce the amount of garbage.


More information about the Digitalmars-d-learn mailing list