Пример #1
0
        public void Undo()
        {
            Level.S.RemoveEntity(ent.pos, ent);
            ent.pos = from;
            Level.S.AddEntity(ent.pos, ent);

            Interfacing.PerformInterfaceTeleport(ent.graphicsHandle, from);
        }
Пример #2
0
        public void Move()
        {
            Level.S.RemoveEntity(ent.pos, ent);
            ent.pos = to;
            Level.S.AddEntity(ent.pos, ent);

            Interfacing.PerformInterfaceTeleport(ent.graphicsHandle, to);
        }