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

13 lines
319 B
GDScript3
Raw Normal View History

2024-03-09 03:24:05 +00:00
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