namespace TechbloxModdingAPI.Blocks
{
using RobocraftX.Common;
using Svelto.ECS;
public class Seat : SignalingBlock
{
///
/// Constructs a(n) Seat object representing an existing block.
///
public Seat(EGID egid) :
base(egid)
{
}
///
/// Constructs a(n) Seat object representing an existing block.
///
public Seat(uint id) :
base(new EGID(id, RobocraftX.PilotSeat.SeatGroups.PILOTSEAT_BLOCK_BUILD_GROUP))
{
}
///
/// Gets or sets the Seat's FollowCam property. Tweakable stat.
///
public bool FollowCam
{
get
{
return BlockEngine.GetBlockInfo(this).followCam;
}
set
{
BlockEngine.GetBlockInfo(this).followCam = value;
}
}
///
/// Gets or sets the Seat's CharacterColliderHeight property. May not be saved.
///
public float CharacterColliderHeight
{
get
{
return BlockEngine.GetBlockInfo(this).characterColliderHeight;
}
set
{
BlockEngine.GetBlockInfo(this).characterColliderHeight = value;
}
}
}
}