예제 #1
0
파일: PlayerAI.cs 프로젝트: imanshu15/x-sms
 public PlayerAI(GameDTO gameObj)
 {
     prevTurnDetails = new List <TurnDetail>();
     aiLogics        = new PlayerAILogics();
     list            = new List <AIBuySellDetails>();
     initiateCalculation(gameObj);
 }
예제 #2
0
파일: PlayerAI.cs 프로젝트: imanshu15/x-sms
 public void Dispose()
 {
     if (aiLogics != null)
     {
         aiLogics.Dispose();
         aiLogics = null;
     }
     game = null;
     timer.Dispose();
     timer           = null;
     player          = null;
     prevTurnDetails = null;
     ownStocks       = null;
     list            = null;
 }