Jebbs / DSFML-C

The back end for DSFML
4 stars 3 forks source link

Change create and load methods #12

Open Jebbs opened 10 years ago

Jebbs commented 10 years ago

Most of the time when you load the sfXXX objects, it creates it at the same time time, so on the D end the object won't be created until you try to load it and if you want to reload it from different data, it has to delete and recreate.. I'd like to change this to having one method for actually creating the object, and then have the loadFrom functions return bools and not new objects.