mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-07 00:10:09 +01:00
Fix incorrect class_name declarations being swapped with extends
This was caused by an automatic text replacement issue.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
class_name MeshInstance3D
|
class_name Line3D
|
||||||
extends Line3D
|
extends MeshInstance3D
|
||||||
|
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
mesh = ImmediateMesh.new()
|
mesh = ImmediateMesh.new()
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
# sorting is delayed by one frame.
|
# sorting is delayed by one frame.
|
||||||
@tool
|
@tool
|
||||||
@icon("res://addons/node25d/icons/y_sort_25d_icon.png")
|
@icon("res://addons/node25d/icons/y_sort_25d_icon.png")
|
||||||
class_name Node # Note: NOT Node2D, Node25D, or Node2D
|
class_name YSort25D
|
||||||
extends YSort25D
|
extends Node # NOTE: NOT Node2D, Node25D, or Node2D
|
||||||
|
|
||||||
|
|
||||||
# Whether or not to automatically call sort() in _process().
|
# Whether or not to automatically call sort() in _process().
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Handles Player-specific behavior like moving. We calculate such things with CharacterBody3D.
|
# Handles Player-specific behavior like moving. We calculate such things with CharacterBody3D.
|
||||||
class_name PlayerMath25D # No icon necessary
|
class_name PlayerMath25D # No icon necessary
|
||||||
extends CharacterBody3D
|
extends CharacterBody3D
|
||||||
|
|
||||||
var vertical_speed := 0.0
|
var vertical_speed := 0.0
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
class_name RefCounted
|
class_name JoyMapping
|
||||||
extends JoyMapping
|
extends RefCounted
|
||||||
|
|
||||||
enum Type {
|
enum Type {
|
||||||
NONE,
|
NONE,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
class_name Node
|
class_name WebSocketClient
|
||||||
extends WebSocketClient
|
extends Node
|
||||||
|
|
||||||
@export var handshake_headers: PackedStringArray
|
@export var handshake_headers: PackedStringArray
|
||||||
@export var supported_protocols: PackedStringArray
|
@export var supported_protocols: PackedStringArray
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
class_name Node
|
class_name NWebSocketServer
|
||||||
extends WebSocketServer
|
extends Node
|
||||||
|
|
||||||
signal message_received(peer_id: int, message: String)
|
signal message_received(peer_id: int, message: String)
|
||||||
signal client_connected(peer_id: int)
|
signal client_connected(peer_id: int)
|
||||||
|
|||||||
Reference in New Issue
Block a user