Example #1
0
            /*-------------------------------------------------------------------------
             * 정보설정
             * ---------------------------------------------------------------------------*/
            private void set_data(Point pos, map_mark_type type, string memo)
            {
                position = pos;
                m_type   = type;
                m_memo   = memo;

                base.rect = new Rectangle(-8, -8, 16, 16);
            }
Example #2
0
 public data(gvt_lib lib, Point pos, map_mark_type type, string memo) : base()
 {
     m_lib = lib;
     set_data(pos, type, memo);
 }
Example #3
0
 /*-------------------------------------------------------------------------
  *
  * ---------------------------------------------------------------------------*/
 public data(gvt_lib lib) : base()
 {
     m_lib  = lib;
     m_memo = "";
     m_type = map_mark_type.axis0;
 }
Example #4
0
 /*-------------------------------------------------------------------------
  * 추가
  * ---------------------------------------------------------------------------*/
 public void Add(Point pos, map_mark_type type, string memo)
 {
     m_datas.Add(new data(m_lib, pos, type, memo));
 }