예제 #1
0
 void IGameEventListener.EventOccurred(GameEvent e)
 {
     //  string expression = e.GetGameLogExpression();
       //  if (!string.IsNullOrEmpty(expression))
       //  {
       //    Block b = new Paragraph(new Run(expression + e.GetGameLogArgs().ToString()));
       //    nest.AddBlock(b);
       //    if (e.GetType().Name == "BeginTurn")
       //    {
       //      nest.nowTurn = new LinkedListNode<Block>(b);
       //      nest.turnsBookmark.AddLast(nest.nowTurn);
       //    }
       //  }
 }
예제 #2
0
파일: Turn.cs 프로젝트: sunoru/PBO
 internal void AddEvent(GameEvent e)
 {
     Events.Add(e);
 }