Ejemplo n.º 1
0
        public void AddZoneToZoneClusterTest()
        {
            ZoneHandler target  = new ZoneHandler(); // TODO: 初始化为适当的值
            WorldId     worldID = null;              // TODO: 初始化为适当的值

            target.AddZoneToZoneCluster(worldID);
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
Ejemplo n.º 2
0
        public void CountTest()
        {
            ZoneHandler target = new ZoneHandler(); // TODO: 初始化为适当的值
            long        actual;

            actual = target.Count;
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
Ejemplo n.º 3
0
        public void ToArrayTest()
        {
            ZoneHandler target = new ZoneHandler(); // TODO: 初始化为适当的值

            WorldId[] expected = null;              // TODO: 初始化为适当的值
            WorldId[] actual;
            actual = target.ToArray();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
Ejemplo n.º 4
0
 public void DecrementZone(ZoneHandler handler)
 {
     faceColor.a    = 0.0f;
     outlineColor.a = 0.0f;
     text.fontMaterial.SetColor(ShaderUtilities.ID_FaceColor, faceColor);
     text.fontMaterial.SetColor(ShaderUtilities.ID_OutlineColor, outlineColor);
     timer     = 0.0f;
     fadeState = 0;
     text.text = "Returning to " + handler.CurrentZoneName;
 }
Ejemplo n.º 5
0
    private void Start()
    {
        boataudio = boat.GetComponent <AudioSource>();

        spawnedFish = new List <GameObject>();
        line        = boat.GetComponent <BoatLine>().Line.GetComponent <FishingLine>();
        boatStats   = boat.GetComponent <BoatStats>();
        zoneHandler = gameObject.GetComponent <ZoneHandler>();
        ZoneHandler.SectionChanged += SectionChange;
        fishCaughtText.text         = "Fish Caught 0/" + boatStats.CarryAmount;
        SectionChange();
    }
Ejemplo n.º 6
0
        public void ZoneHandlerConstructorTest()
        {
            ZoneHandler target = new ZoneHandler();

            Assert.Inconclusive("TODO: 实现用来验证目标的代码");
        }