public RevolutionAnchor(IntVector vector) { Wires = new List<Wire>(); Sprite = MGSprite.MGSpriteWithFilename("point"); WireShowLayer.SharedWireShow().AddChild(this); Vector = vector; Sprite.Position = Vector.ToUIVector2(); }
public virtual void SetVector(int x, int y) { Vector = new IntVector(x, y); if (Sprite != null) { Sprite.Position = Vector.ToUIVector2() + new Vector2(10, 16); } }