using System; using System.Collections.Generic; using System.Text; namespace VPScriptEditor { public enum WindowType { Normal, Fixed, None }; public class Pointer { public string rooms, x, y, width, height, content; public WindowType type; public Pointer(Pointer p) : this(p.rooms, p.type, p.x, p.y, p.width, p.height, p.content) { } public Pointer(string rooms, WindowType type, string x, string y, string width, string height, string content) { this.rooms = rooms; this.type = type; if (type == WindowType.Normal) { this.x = x; this.y = y; this.width = width; this.height = height; } else this.x = this.y = this.width = this.height = null; this.content = content; } } }