Select language
Search the Site
Ceebot / Dauphin Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Where are object properties documented? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Where are object properties documented?
#7
Jeff (Visitor)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Where are object properties documented? 16 Years, 3 Months ago Karma: 0  
I cannot find a reference to the properties of each class, or class functions. I would assume that an object like a power cell would have a property describing the amount of fuel remaining in it, but I don't have documentation as to what that property is called and how is best to access it; dot notation or a function call. Complete documentation would be very helpful.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#32
huberm (Admin)
Admin
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Where are object properties documented? 15 Years, 9 Months ago Karma: 0  
Hi, Jeff,

sorry for the awfully late answer ... somehow i missed your post.

You can find it in the Ceebot help texts, when you type "object" in the program editor, and then click on the word "object" that appears in the line at the bottom of the editor. This opens the respective help text.

From the German version:


int object.category Kategorie des Objekts
point object.position Position des Objekts (x,y,z)
point object.speed Geschwindigkeit des Objekts (x,y,z)
float object.orientation Ausrichtung (Gierwinkel) des Objekts
float object.pitch Nickwinkel des Objekts
float object.roll Rollwinkel des Objekts
float object.energyLevel Energievorrat (0..1)
float object.shieldLevel Schaden (verkehrt) (0..1)
float object.temperature Triebwerktemperatur (0..1)
float object.altitude Flughöhe über Grund
float object.lifeTime Alter des Objekts
object object.energyCell Batterie des Roboters
object object.load Vom Roboter getragener Gegenstand


hope this helps

Martin
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop