Page 1 of 1
Change the behavior
Posted: Sun Feb 06, 2011 10:31 am
by fredigertsch
I plan to change the behavior of an element each time it changes his Type property. Is it correct, that by changing the behavior the custom properties does not change or loose? Thanks.
Best Fredi
Re: Change the behavior
Posted: Sun Feb 06, 2011 12:25 pm
by jmburnod
Hi Fredi,
I think the behavior only use the script of the btn you put in reference
I plan to change the behavior of an element each time it changes his Type property
i don't understand the change his Type property
Best
Jean-Marc
Re: Change the behavior
Posted: Sun Feb 06, 2011 2:58 pm
by fredigertsch
Thank you Jean-Marc.
I am programming a game. I have several "objects" who can change her type of object (in the game). And for clearer code I will seperate (in a object oriented manner) the behavior for each type of object. I give it a try
Best, Fredi
Re: Change the behavior
Posted: Sun Feb 06, 2011 4:29 pm
by Klaus
Hi Fredi,
you can change the behavior of any objects as often as you like!
And the custom properties are not getting touched by this.
Best
Klaus
Re: Change the behavior
Posted: Tue Feb 08, 2011 9:16 am
by fredigertsch
Thank you Klaus.