public Bug() { InitializeComponent(); s0lu = new s0("lu"); s1ru = new s0("ru"); s2rd = new s1("rd"); s3ld = new s2("ld"); s2rd.SetTwin(s3ld.mySection); s3ld.SetTwin(s2rd.mySection); s4S0 = new sS0("ad"); s5S1 = new sS1("G"); myState = CreatureState.JUST_ADDED_OR_MOVED; myCNS = new CNS(this); }
public void SetTwin(s0 twin) { twinSection = twin; }
public s2(string name) { mySection = new s0(name); }