Initial commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
@startuml
|
||||
class SocketContainer {
|
||||
- sockets : List<SocketPoint>
|
||||
- iterativeSockets : List<SocketPoint>
|
||||
- autoDetectSockets : bool = true
|
||||
- allowCycling : bool = true
|
||||
- wrapAround : bool = true
|
||||
- containerInit : BlockContainerInit
|
||||
- currentSocketIndex : int = 0
|
||||
- currentActiveSocket : SocketPoint
|
||||
- Awake() : void
|
||||
- InitializeSockets() : void
|
||||
+ GetActiveSocket() : SocketPoint
|
||||
+ CycleToNextSocket() : void
|
||||
+ CycleToPreviousSocket() : void
|
||||
+ SetActiveSocketByIndex(index:int) : void
|
||||
+ SetActiveSocket(socket:SocketPoint) : void
|
||||
+ ResetToFirstSocket() : void
|
||||
+ GetAllSockets() : List<SocketPoint>
|
||||
+ GetAvailableSockets() : List<SocketPoint>
|
||||
+ GetOccupiedSockets() : List<SocketPoint>
|
||||
+ FindNearestCompatibleSocket(worldPosition:Vector3, sourceSocket:SocketPoint) : SocketPoint
|
||||
+ FindSocketsInRadius(worldPosition:Vector3, radius:float, onlyAvailable:bool) : List<SocketPoint>
|
||||
+ GetSocketsByType(type:SocketType) : List<SocketPoint>
|
||||
+ HighlightAllSockets(state:HighlightState) : void
|
||||
+ ClearAllHighlights() : void
|
||||
+ AddSocket(socket:SocketPoint) : void
|
||||
+ RemoveSocket(socket:SocketPoint) : void
|
||||
+ GetSocketCount() : int
|
||||
+ HasSockets() : bool
|
||||
+ GetCurrentSocketIndex() : int
|
||||
+ FindSocketsCompatibleWithJoint(jointBlock:JointBlock) : List<SocketPoint>
|
||||
}
|
||||
MonoBehaviour <|-- SocketContainer
|
||||
@enduml
|
||||
Reference in New Issue
Block a user