From: <net...@ho...> - 2004-06-25 13:59:23
|
<html><div style='background-color:'><TABLE id=HB_Mail_Container height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0 UNSELECTABLE="on"> <TBODY> <TR height="100%" UNSELECTABLE="on" width="100%"> <TD id=HB_Focus_Element vAlign=top width="100%" background="" height=250 UNSELECTABLE="off"> <P>Hi,</P> <P> I´m trying to comunicate the human and a modificated berniw´s tutorial robot. I want to make it with flags. What I´ve done is a new class called Flags in the same proyect than the human. The Flags class has an static variable. My idea is to modificate the static atribute from the human and to read it in the robot. I read it in the update method to modificate an atribute of the robot. </P> <P> I use the human.obj to link the robot. Ok, and what happend? It looks like if each part (one the robot and the other the human) was watching diferents instances of the Flags´ static attribute, but the attribute is an static attribute. The human part always watch the initial value.</P> <P>Does anybody knows what´s happening? What am I forgetting?</P></TD></TR> <TR UNSELECTABLE="on" hb_tag="1"> <TD style="FONT-SIZE: 1pt" height=1 UNSELECTABLE="on"> <DIV id=hotbar_promo></DIV></TD></TR></TBODY></TABLE> <BLOCKQUOTE id=e1520f7a>thank you<BR><BR> <DIV> <TABLE id=HB_Mail_Container height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0 UNSELECTABLE="on"> <TBODY> <TR height="100%" UNSELECTABLE="on" width="100%"> <TD id=HB_Focus_Element vAlign=top width="100%" background="" height=250 UNSELECTABLE="off"> <P>_____________________</P> <P>Manuel Pecero Rodríguez.</P> <P><A href="mailto:net...@ho...">net...@ho...</A></P> <P><A href="mailto:man...@bu...">man...@bu...</A> </P></TD></TR> <TR UNSELECTABLE="on" hb_tag="1"> <TD style="FONT-SIZE: 1pt" height=1 UNSELECTABLE="on"> <DIV id=hotbar_promo></DIV></TD></TR></TBODY></TABLE></DIV></BLOCKQUOTE></div><br clear=all><hr>Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, YupimMSN Compras: <a href="http://g.msn.com/8HMBES/2731??PS=47575">Haz clic aquí</a> </html> |