≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
js class
Posted by:
(you are not logged in)
Enter the missing letter in: "Internation?l"
(you are not logged in)
Text:
[quote][b]Guest[/b] wrote: [code] var MyClass = function(name, mass) { this.name = name; this.mass = mass; } MyClass.prototype.getNode = function() { return ccbGetSceneNodeFromName(this.name); } var bob = new MyClass("bob", 2000); print(bob.name); print(bob.mass); ccbSetSceneNodeProperty(bob.getNode(), "Visible", false); [/code][/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact