Exemple #1
0
        public void InsertSignpost(signpost toinsert)
        {
            Logger.InfoFormat("Inserting signpost {0}@{1},{2}", toinsert.map.name, toinsert.map_x, toinsert.map_y);
            var post = new Signpost(toinsert);

            World.Insert(post);
            Insert(post, post.X, post.Y);
            Signposts[new Tuple <byte, byte>(post.X, post.Y)] = post;
        }
Exemple #2
0
 public Signpost(signpost post)
 {
     Data = post;
     X    = (byte)post.map_x;
     Y    = (byte)post.map_y;
 }
Exemple #3
0
 public void InsertSignpost(signpost toinsert)
 {
     Logger.InfoFormat("Inserting signpost {0}@{1},{2}", toinsert.map.name, toinsert.map_x, toinsert.map_y);
     var post = new Signpost(toinsert);
     World.Insert(post);
     Insert(post, post.X, post.Y);
     Signposts[new Tuple<byte, byte>(post.X, post.Y)] = post;
 }