52 lines
550 B
C#
52 lines
550 B
C#
using Oculus.Platform.Models;
|
|
|
|
namespace Oculus.Platform.Samples.VrHoops
|
|
{
|
|
public class RemotePlayer : Player
|
|
{
|
|
private User m_user;
|
|
|
|
private P2PNetworkGoal m_goal;
|
|
|
|
public User User
|
|
{
|
|
set
|
|
{
|
|
m_user = value;
|
|
}
|
|
}
|
|
|
|
public ulong ID
|
|
{
|
|
get
|
|
{
|
|
return m_user.ID;
|
|
}
|
|
}
|
|
|
|
public P2PNetworkGoal Goal
|
|
{
|
|
get
|
|
{
|
|
return m_goal;
|
|
}
|
|
set
|
|
{
|
|
m_goal = value;
|
|
}
|
|
}
|
|
|
|
public override uint Score
|
|
{
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
public void ReceiveRemoteScore(uint score)
|
|
{
|
|
base.Score = score;
|
|
}
|
|
}
|
|
}
|