Karana.KUtils.PrefabProtocols#
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.PrefabProtocols.GravityProtocol[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: