Created
February 12, 2014 02:31
-
-
Save Cosrnos/8948940 to your computer and use it in GitHub Desktop.
LynxJS Sample Component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Lynx Project | |
* Started August 2013 | |
* ------------------------------------------------------ | |
* This file is covered under the LynxJS Game Library | |
* License. Please read license.txt for more information | |
* on usage of this library. | |
* ------------------------------------------------------ | |
* Component Name: SampleComponent | |
* Author: Cosrnos | |
* Description: This is a sample component for LynxJS! | |
*/ | |
(function(){ | |
var name = "SampleComponent"; | |
var auth = "Cosrnos"; | |
var desc = "This is a sample component for LynxJS!"; | |
var build = function(){ | |
this.HelloWorld = function() | |
{ | |
Lynx.Log("Hello World!"); | |
} | |
}; | |
Lynx.Component(name, auth, desc, build); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment