Exemplo n.º 1
0
        public void NewPosition_Set_Get()
        {
            var packet = new NpcPortal();

            packet.NewPosition = new Vector2f(1.23F, 4.56F);

            Assert.Equal(new Vector2f(1.23F, 4.56F), packet.NewPosition);
        }
Exemplo n.º 2
0
        public void Velocity_Set_Get()
        {
            var packet = new NpcPortal();

            packet.Velocity = new Vector2f(1.23F, 4.56F);

            Assert.Equal(new Vector2f(1.23F, 4.56F), packet.Velocity);
        }
Exemplo n.º 3
0
        public void PortalColorIndex_Set_Get()
        {
            var packet = new NpcPortal();

            packet.PortalColorIndex = 1;

            Assert.Equal(1, packet.PortalColorIndex);
        }