mirror of
https://github.com/Steffo99/nanogolf.git
synced 2024-11-24 17:14:19 +00:00
12 lines
319 B
GDScript
12 lines
319 B
GDScript
extends Node
|
|
class_name SinglePeerTracker
|
|
|
|
## Node representative of a single connected peer.
|
|
##
|
|
## That specific peer must have authority over this node.
|
|
##
|
|
## Then, that authority is used to connect to a specific player.
|
|
|
|
@rpc("authority", "call_local", "reliable")
|
|
func takeover(player: SinglePlayerTracker):
|
|
pass
|