Example #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();
     }
 }
Example #2
0
        public JsonResult StockSymbols(string symbols)
        {
            var stocks = Stocks.GetStocks(symbols);

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