public EvasionScript(Nanobot target, Vector2 offset, float time, float transitionTime) { _target = target; _time = time; _offset = offset; _transitionTime = transitionTime; }
protected virtual void LoadComponent() { Component = new Nanobot(); Component.WorldPosition = Position + new Vector2(ComponentOffsetLeft, ComponentOffsetTop); }
private void CreateNanobot() { Nanobot = new Nanobot(); Nanobot.GroupPosition = new Vector2(0, 0); }
public MoveNanobotScript(Nanobot target, Vector2 offset, float time) { _target = target; _time = time; _offset = offset; }