Not logged inOpenClonk Forum
Up Topic Reflecting internal object members as properties

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Clonk-Karl

> But consistency in language design would probably call for those two to be set by function calls ;-)


Well, when I introduced them the trend was to move many things (like object visibility) to properties, so I just did the same.

> And they also are typically set on the definition, aren't they?


For PictureTransformation yes, but MeshTransformation is often used on objects rather than definitions. For example the chest and the windmill are rotated slightly around their Y axis by a random value to provide some variation.

> Though it's probably okay to say that objects just set those properties on themselves automatically


You mean at construction time? (Just making sure I get you right on that point)

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill