Пример #1
0
        // ano - TODO probably a bad idea to let lua access? let's think about this

        /*
         * // This joins the line with another line
         * // This line will be disposed
         * // Returns false when the operation could not be completed
         * public bool Join(LuaLinedef other)
         * {
         *  if (linedef.IsDisposed || other.linedef.IsDisposed)
         *  {
         *      throw new ScriptRuntimeException("Linedef has been disposed, can't Split.");
         *  }
         *  return linedef.Join(other.linedef);
         * }
         */

        public override string ToString()
        {
            if (linedef.IsDisposed)
            {
                return("Disposed " + linedef.ToString());
            }
            return(linedef.ToString());
        }