1
Fork 0
mirror of https://github.com/Steffo99/nanogolf.git synced 2024-11-24 17:14:19 +00:00
algodist-steffo-nanogolf/scenes/single_peer_tracker.gd

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