C# Class DatabaseManager, Team4BabelGame

Inheritance: MonoBehaviour
Exibir arquivo Open project: veselin-/Team4BabelGame Class Usage Examples

Public Methods

Method Description
AddSign ( int id, List syllableSequence ) : void
DatabasesLoaded ( ) : bool
DoesSentenceAlreadyExcist ( List syllables, int id ) : bool
GetImage ( string fileName ) : Sprite
GetSign ( int id ) : Sign,
GetSyllable ( int id ) : Syllable,
ResetUserData ( ) : void
SaveAllDb ( ) : void
SaveSentencesDb ( ) : void
SaveSignsDb ( ) : void

Private Methods

Method Description
Awake ( ) : void
GetFilePath ( string fileName ) : string
LoadAlphabetDb ( ) : void
LoadData ( ) : void
LoadSentencesDb ( ) : void
LoadsignsDb ( ) : void
Start ( ) : void

Method Details

AddSign() public method

public AddSign ( int id, List syllableSequence ) : void
id int
syllableSequence List
return void

DatabasesLoaded() public method

public DatabasesLoaded ( ) : bool
return bool

DoesSentenceAlreadyExcist() public method

public DoesSentenceAlreadyExcist ( List syllables, int id ) : bool
syllables List
id int
return bool

GetImage() public method

public GetImage ( string fileName ) : Sprite
fileName string
return Sprite

GetSign() public method

public GetSign ( int id ) : Sign,
id int
return Sign,

GetSyllable() public method

public GetSyllable ( int id ) : Syllable,
id int
return Syllable,

ResetUserData() public method

public ResetUserData ( ) : void
return void

SaveAllDb() public method

public SaveAllDb ( ) : void
return void

SaveSentencesDb() public method

public SaveSentencesDb ( ) : void
return void

SaveSignsDb() public method

public SaveSignsDb ( ) : void
return void