Class.js
file contains main class function that has a static function called extend
.
Each class that extends of main class has a function like main extend
static function without superClass
argument (because super class of that is this extended class).
The Behavior.js
file has a extended class that is almost likes to an interface
(in OO system) but it's also not realy an interface
!
A behavior can append some functions to your new class with an attribute that is similar to this: Behavior:behavior_name
that can show this behavior added to this class.