Research outpost.
Inheritance: MonoBehaviour
Exemplo n.º 1
0
    public void BuyResearch()
    {
        bool successful;

        ship.research = ResearchOutpost.BuyResearchPoints(ship.money, out successful);
        if (successful)
        {
            ship.research += 100;
        }
    }
Exemplo n.º 2
0
    public void BuyClue()
    {
        bool successful;

        ship.research = ResearchOutpost.BuyClue(ship.research, clueKnown, out successful);
//		if (successful) {
//			for (int i = 0; i < clueKnown.Length; i++) {
//				if (clueKnown [i] == false) {
//					clueKnown [i] = true;
//					return;
//				}
//			}
//		}
        UpdateClueDisplay();
    }