comment on save function
This commit is contained in:
parent
7d1883b765
commit
4f2d190b6c
@ -40,7 +40,14 @@ namespace SpriteLibrary
|
|||||||
LoadSpriteInfo();
|
LoadSpriteInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void Save()
|
/// <summary>
|
||||||
|
/// Tell the database to save the sprite definitions. Use this while you are creating your game.
|
||||||
|
/// When you are done, you will usually want to take your sprite definition file and add it to the
|
||||||
|
/// resources of your game. The resources cannot be saved to, so you cannot continue to add new sprites
|
||||||
|
/// once you are loading and saving them from a resources file. But, the resources file is included with
|
||||||
|
/// the program when you build it.
|
||||||
|
/// </summary>
|
||||||
|
public void Save()
|
||||||
{
|
{
|
||||||
if(!DoesResourceExist(Filename))
|
if(!DoesResourceExist(Filename))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user