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); }
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); }
public void PortalColorIndex_Set_Get() { var packet = new NpcPortal(); packet.PortalColorIndex = 1; Assert.Equal(1, packet.PortalColorIndex); }