Compatibility with RC 0.4
This commit is contained in:
parent
5432a9660d
commit
79350c9ea0
@ -7,7 +7,7 @@ namespace RoboidControl
|
||||
{
|
||||
protected HumanoidTarget.TargetedBone bone;
|
||||
|
||||
public BoneThing(Participant owner, HumanoidTarget.TargetedBone bone) : base(owner)
|
||||
public BoneThing(HumanoidTarget.TargetedBone bone) : base()
|
||||
{
|
||||
this.bone = bone;
|
||||
}
|
||||
|
@ -265,7 +265,7 @@ namespace Passer.Humanoid
|
||||
}
|
||||
|
||||
humanoid = humanoids[0];
|
||||
headThing = new BoneThing(this.participant, humanoid.headTarget.head);
|
||||
headThing = new BoneThing(humanoid.headTarget.head);
|
||||
// this.participant.Send(new ThingMsg((byte)humanoid.nwId, headThing));
|
||||
//
|
||||
//endpoint = new IPEndPoint(IPAddress.Any, sitePort);
|
||||
|
@ -2,5 +2,5 @@ using RoboidControl;
|
||||
|
||||
public class HumanoidThing : Thing
|
||||
{
|
||||
public HumanoidThing(bool invokeEvent = true) : base(Type.HUmanoid, invokeEvent) {}
|
||||
public HumanoidThing(bool invokeEvent = true) : base(Type.Humanoid) {}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user