예제 #1
0
 public void OnEventDie()
 {
     stocks.AdjustStocks(-1);
     Debug.Log(stocks.GetStocks());
     if (stocks.GetStocks() <= 0)
     {
         Debug.Log("LOL game over noob");
     }
     else
     {
         manager.Respawn(controller);
         health.ResetHealth();
     }
 }
예제 #2
0
        public JsonResult StockSymbols(string symbols)
        {
            var stocks = Stocks.GetStocks(symbols);

            return(Json(stocks, JsonRequestBehavior.AllowGet));
        }
예제 #3
0
 public List <Stock> GetStocks(string Symbols)
 {
     return(Stocks.GetStocks(Symbols));
 }