4DIS - JavascriptTutorial - Classes

From Unify Community Wiki
Jump to: navigation, search

Javascript Classes

4DIS - JavascriptTutorial - Back


Creating own classes :

<javascript>

class MyClass {

   function MyClass ( ) { }
   
   // ...

}


class MyClass {

   function MyClass ( ) { }
   
   var a : int = 5;
   var b : float = 2.5;

}

</javascript>

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox