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(); } }
public JsonResult StockSymbols(string symbols) { var stocks = Stocks.GetStocks(symbols); return(Json(stocks, JsonRequestBehavior.AllowGet)); }
public List <Stock> GetStocks(string Symbols) { return(Stocks.GetStocks(Symbols)); }