Example #1
0
 public MoveToCommand(RandomNPC parent, Vector2 Target)
 {
     this.parent = parent;
     this.Target = Target;
     this.rb     = parent.rb;
     this.anim   = parent.anim;
     this.col    = parent.col;
     this.path   = parent.path;
 }
Example #2
0
 public MoveToCommand(RandomNPC parent, Vector2 Target, bool ToScreen = false)
 {
     this.parent   = parent;
     this.Target   = Target;
     this.rb       = parent.rb;
     this.anim     = parent.anim;
     this.col      = parent.col;
     this.path     = parent.path;
     this.toScreen = ToScreen;
 }
Example #3
0
		public AppearCommand(RandomNPC parent) {
			this.parent = parent;
			cam = Camera.main;
		}
Example #4
0
 public HangAroundCommand(RandomNPC parent, float time)
 {
     this.parent = parent;
     this.time   = time;
 }