Esempio n. 1
0
        public void TestShipColour()
        {
            ShipColour newShip = new ShipColour();

            newShip = ShipColour.Red;
            Assert.AreEqual(ShipColour.Red, newShip);
        }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     controller = GetComponent <ShipController>();
     CreateFleet();
     colour = GetComponentInChildren <ShipColour>();
 }