public void TeleportationType_Set_Get(TeleportationType value) { var packet = new EntityTeleport(); packet.TeleportationType = value; Assert.Equal(value, packet.TeleportationType); }
public void UseTargetsPosition_Set_Get(bool value) { var packet = new EntityTeleport(); packet.UseTargetsPosition = value; Assert.Equal(value, packet.UseTargetsPosition); }
public void ExtraInfo_Set_Get() { var packet = new EntityTeleport(); packet.ExtraInfo = 1; Assert.Equal(1, packet.ExtraInfo); }
public void Style_Set_Get() { var packet = new EntityTeleport(); packet.Style = 1; Assert.Equal(1, packet.Style); }
public void Position_Set_Get() { var packet = new EntityTeleport(); packet.Position = new Utils.Vector2f(1.23F, 4.56F); Assert.Equal(new Utils.Vector2f(1.23F, 4.56F), packet.Position); }
public void EntityIndex_Set_Get() { var packet = new EntityTeleport(); packet.EntityIndex = 1; Assert.Equal(1, packet.EntityIndex); }