Example #1
0
 public Monster(Position position)
     : base(position)
 {
 }
Example #2
0
 protected BaseCharacter(Position position)
 {
     Id = new Guid();
     Position = position;
 }
Example #3
0
 public TeleportationAction(int priority, BaseCharacter source, Position target)
     : base(priority, source)
 {
     Target = target;
 }
Example #4
0
 public MoveCommand(BaseCharacter character, Position target)
 {
     Character = character;
     Target = target;
 }
Example #5
0
 public Hero(Position position)
     : base(position)
 {
 }
 public void Teleportate(MouseEventArgs args)
 {
     var target = new Position(args.X, args.Y);
     World.ReciveCommand(new MoveCommand(World.Player, target));
 }