示例#1
0
        public static void AddMsg(string Msg, libtcodWrapper.Color Col)
        {
            Lines.Add(new Message(Msg, Col));

            while (Lines.Count > 90)
            {
                Lines.RemoveAt(0);
            }
        }
示例#2
0
 public TerrainTile(char c, libtcodWrapper.Color col, bool d, bool w, bool s, TerrainTypes t)
 {
     CharRepresentation = c;
     DrawColor          = col;
     Destructible       = d;
     Walkable           = w;
     Seethrough         = s;
     Type        = t;
     HasBeenSeen = IsVisible = false;
 }
示例#3
0
 public Message(string t, libtcodWrapper.Color c)
 {
     Text      = t;
     TextColor = c;
 }