AEL_components

package
v0.0.0-...-d04e7c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColliseComponent

type ColliseComponent struct {
}

func NewColliseComponent

func NewColliseComponent() ColliseComponent

type InstanceObject

type InstanceObject interface {
	components.IsRenderObject
	GetObjectToMove() (*types.Vector3, *types.Matrix3) // In the future, it will be moved to interface for system of moving
}

type InstancesEmiterComponent

type InstancesEmiterComponent struct {
	GeoMList *[]types.GeoM

	Time float64
	// contains filtered or unexported fields
}

func NewInstancesEmiterComponent

func NewInstancesEmiterComponent(count *int, instance InstanceObject) (*InstancesEmiterComponent, error)

func (*InstancesEmiterComponent) RenderCustom

func (InstancesEmiterC *InstancesEmiterComponent) RenderCustom(call pipeline.RenderCallAppend, camera *types.Camera)

type KinematicComponent

type KinematicComponent struct {
	Location *types.Vector3
	Velocity *types.Vector3
	Move     *bool
}

func NewKinematicComponent

func NewKinematicComponent(Location *types.Vector3, Velocity *types.Vector3, Move *bool) KinematicComponent

func (KinematicComponent) Step

func (kinematicC KinematicComponent) Step(DeltaTime float64)

type RenderComponent

type RenderComponent struct {
	*render.Box
	*types.Vector3
	*types.Matrix3
}

func NewRenderComponent

func NewRenderComponent(box *render.Box, v *types.Vector3, m *types.Matrix3) RenderComponent

func (RenderComponent) RenderCustom

func (renderC RenderComponent) RenderCustom(call pipeline.RenderCallAppend, camera *types.Camera)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL