Documentation
¶
Overview ¶
Package probe holds the ECS components this test game adds on top of the physics2d plugin's own Transform2D / Velocity2D / PhysicsBody2D.
Index ¶
- type Probe
- func (c Probe) AppendWire(b []byte) []byte
- func (c Probe) FromProto(p *pbprobe.Probe) Probe
- func (c Probe) MarshalWire() []byte
- func (Probe) Name() string
- func (c Probe) ProtoDescriptor() protoreflect.MessageDescriptor
- func (c Probe) SizeWire() int
- func (c Probe) ToProto() *pbprobe.Probe
- func (c Probe) UnmarshalWire(data []byte) (any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Probe ¶
Probe tags every entity the test harness spawns. Scenario is the owning scenario's name and Label identifies the body inside that scenario, so failure messages can name the exact body that misbehaved instead of a bare entity ID.
func (Probe) AppendWire ¶ added in v0.16.9
func (Probe) MarshalWire ¶
func (Probe) ProtoDescriptor ¶ added in v0.17.0
func (c Probe) ProtoDescriptor() protoreflect.MessageDescriptor
Click to show internal directories.
Click to hide internal directories.