ft (wip): hammerhead predator
This commit is contained in:
@@ -22,15 +22,6 @@ func take_damage(dmg: int) -> void:
|
||||
if self.health < 0:
|
||||
self.die()
|
||||
|
||||
# I think the move per npc is to model concrete behaviours in functions.
|
||||
# How the npc acts can be determined elsewhere, these functions just implement the behvaiour
|
||||
func flee(direction: Vector3) -> void:
|
||||
push_error("Function flee() not implemented.")
|
||||
|
||||
# Im envisioning we feed on "sustenance (to be classed)" only; when something dies it should spawn some sustenance
|
||||
func feed(source ) -> void:
|
||||
push_error("Function feed() not implemented.")
|
||||
|
||||
func die() -> void:
|
||||
died.emit()
|
||||
queue_free()
|
||||
|
||||
Reference in New Issue
Block a user