currently broken
This commit is contained in:
parent
90b1737fb2
commit
258ffc4523
1 changed files with 7 additions and 4 deletions
|
@ -1,15 +1,18 @@
|
|||
@icon('uid://br8ndde8qty32')
|
||||
extends Node3D
|
||||
extends Node
|
||||
class_name Entity
|
||||
|
||||
|
||||
## Base entity class for everything interactive.
|
||||
## Base entity class for everything not static.
|
||||
##
|
||||
## Should be the parent of every units, buildings,
|
||||
## npc, loot, and everything that the player can interact with in 3D
|
||||
|
||||
## npc, loot, and everything that the player can interact with
|
||||
##
|
||||
## Is a node, because we want to deactivate rendering when out of camera and only simulating the world.
|
||||
## Plus, only the entity is replicated in multiplayer
|
||||
|
||||
func _ready() -> void:
|
||||
add_to_group('entity')
|
||||
add_to_group('selectable-entity')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue