public TopPipe_Args(TopPipe Instance, Parsed_packet headers, P4ToCSharp.Library.error parseError, InControl inCtrl, OutControl outCtrl) { this.Instance = Instance; this.headers = headers; this.parseError = parseError; this.inCtrl = inCtrl; this.outCtrl = outCtrl; }
public void Move(int speed) { Left -= speed; TopPipe.Move(speed); BottomPipe.Move(speed); }
public sealed override void SetBounceFactor(float val) { base.SetBounceFactor(val); TopPipe.SetBounceFactor(val); BottomPipe.SetBounceFactor(val); }
public sealed override void SetVelocity(Vector2 velocity) { base.SetVelocity(velocity); TopPipe.SetVelocity(velocity); BottomPipe.SetVelocity(velocity); }