#godotengine - Learning #Godot Test - valves and drop gates
Channel:
Subscribers:
64
Published on ● Video Link: https://www.youtube.com/watch?v=F9Hqod1O-DU
added a over complicated signal system between 2 classes with each 2-3 inheritances
iUseable - IRemoteContoller - Valve
IRemoteControlledObject - DropGate
iUseable: can be klicked by player and holds a option "isUseable"
IRemoteContoller: can start and stop also connects the events to get from
IRemoteControlledObject: endPointReached and ChangedDirection
DropGate and Valve then only implements the methods given by the parents.
Maybe there is a better way, but it works.