示例#1
0
 public EvasionScript(Nanobot target, Vector2 offset, float time, float transitionTime)
 {
     _target = target;
     _time = time;
     _offset = offset;
     _transitionTime = transitionTime;
 }
示例#2
0
 protected virtual void LoadComponent()
 {
     Component = new Nanobot();
     Component.WorldPosition = Position + new Vector2(ComponentOffsetLeft, ComponentOffsetTop);
 }
示例#3
0
文件: Player.cs 项目: sergik/Cardio
 private void CreateNanobot()
 {
     Nanobot = new Nanobot();
     Nanobot.GroupPosition = new Vector2(0, 0);
 }
示例#4
0
 public MoveNanobotScript(Nanobot target, Vector2 offset, float time)
 {
     _target = target;
     _time = time;
     _offset = offset;
 }