Karana.KUtils.PrefabInterfaces#
Typing protocols used for checking Prefab compatibility.
Classes#
Any Prefab that meets this protocol provides a method to get a GravityInterface. |
Module Contents#
- class Karana.KUtils.PrefabInterfaces.GravityProviderInterface[source]#
Bases:
ProtocolAny Prefab that meets this protocol provides a method to get a GravityInterface.
- getGravityInterface() Karana.Models.GravityInterface[source]#
Get the GravityInterface from the Prefab.
- Returns:
The GravityInterface the Prefab is using.
- Return type: