how can I realize the following simple OOP Design in Godot?
(abstract) Bullet-Class: (maybe a scene based on KinematicBody2D)
Childclasses must define:
- a visual represenation
- a collision shape
- function that is called when it collide
I know, there are no abstract classes in Godot and maybe there is no OOP to. But I hope my question is clear enought.
How can I define some basebehaviour of a Bullet and then reused it in many concrete implementations of a Bullet?
If smething is not clear, please ask.