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