Exemplo n.º 1
0
        public EditorSelectionLayer(Actor self, EditorSelectionLayerInfo info)
        {
            if (self.World.Type != WorldType.Editor)
                return;

            this.info = info;
            map = self.World.Map;
            copySprite = map.Rules.Sequences.GetSequence(info.Image, info.CopySequence).GetSprite(0);
            pasteSprite = map.Rules.Sequences.GetSequence(info.Image, info.PasteSequence).GetSprite(0);
        }