Mallet Engine  2
Entity-Component based game engine, written in Java.
 All Classes Namespaces Files Functions Variables
Public Member Functions
com.linxonline.mallet.resources.LanguageManager Class Reference

List of all members.

Public Member Functions

 LanguageManager ()
void setLanguage (final String _language)
boolean loadLanguageFile (final String _file)
boolean containsLanguageFile (final String _file)
String getText (final String _keyword)
void clear ()

Constructor & Destructor Documentation


Member Function Documentation

Check to see if the file has already been loaded

Get the Language specific text, using the defined keyword.

Specifies what langauge file you wish to load. If you wish to support multiple langauges, simply stick each lanaguage text in their own directory (en, fr), but have them use the same file names(main.lan).

setLangauge defines what folder within base/languages the Manager will look in. By Default this is "en" -> base/langagues/en


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables