diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2022-09-22 08:24:37 -0400 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2022-09-22 08:24:37 -0400 |
| commit | 62039380a67b6da396d1c8d745d2e2625ba988fc (patch) | |
| tree | 59141eb09d8f68fe87f9d263dd33dd3fd4830724 /godot/scripts/GameBase.gd | |
| parent | 123c1a2d9a5034902468b9f3ae5a139fff5c2f95 (diff) | |
network lag? camera and movement controller merged to same gdnative script
Diffstat (limited to 'godot/scripts/GameBase.gd')
| -rw-r--r-- | godot/scripts/GameBase.gd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/godot/scripts/GameBase.gd b/godot/scripts/GameBase.gd index 89d457b..cff8bf4 100644 --- a/godot/scripts/GameBase.gd +++ b/godot/scripts/GameBase.gd @@ -114,3 +114,9 @@ func get_client_id() -> int: func is_chatting_f() -> bool: return is_chatting + +func get_players_info(id: int, index: int) -> String: + return players_info[id][index] + +func set_player_char(character: RigidBody) -> void: + player_char = character |
