ecs_stubs

package
v0.0.0-...-4db4b9c Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityManagerStub

type EntityManagerStub struct {
	StubGUID         int
	CreateEntityStub func() (result1 alias1.Entity)

	HasEntityStub func(arg1 alias1.Entity) (result1 bool)

	DeleteEntityStub func(arg1 alias1.Entity)

	DeleteAllEntitiesStub func()

	AddEntityComponentStub func(arg1 alias1.Entity, arg2 alias1.ComponentType, arg3 interface{})

	EntityHasComponentStub func(arg1 alias1.Entity, arg2 alias1.ComponentType) (result1 bool)

	EntityComponentStub func(arg1 alias1.Entity, arg2 alias1.ComponentType) (result1 interface{})

	RemoveEntityComponentStub func(arg1 alias1.Entity, arg2 alias1.ComponentType)
	// contains filtered or unexported fields
}

func (*EntityManagerStub) AddEntityComponent

func (stub *EntityManagerStub) AddEntityComponent(arg1 alias1.Entity, arg2 alias1.ComponentType, arg3 interface{})

func (*EntityManagerStub) AddEntityComponentArgsForCall

func (stub *EntityManagerStub) AddEntityComponentArgsForCall(index int) (alias1.Entity, alias1.ComponentType, interface{})

func (*EntityManagerStub) AddEntityComponentCallCount

func (stub *EntityManagerStub) AddEntityComponentCallCount() int

func (*EntityManagerStub) CreateEntity

func (stub *EntityManagerStub) CreateEntity() alias1.Entity

func (*EntityManagerStub) CreateEntityCallCount

func (stub *EntityManagerStub) CreateEntityCallCount() int

func (*EntityManagerStub) CreateEntityReturns

func (stub *EntityManagerStub) CreateEntityReturns(result1 alias1.Entity)

func (*EntityManagerStub) DeleteAllEntities

func (stub *EntityManagerStub) DeleteAllEntities()

func (*EntityManagerStub) DeleteAllEntitiesCallCount

func (stub *EntityManagerStub) DeleteAllEntitiesCallCount() int

func (*EntityManagerStub) DeleteEntity

func (stub *EntityManagerStub) DeleteEntity(arg1 alias1.Entity)

func (*EntityManagerStub) DeleteEntityArgsForCall

func (stub *EntityManagerStub) DeleteEntityArgsForCall(index int) alias1.Entity

func (*EntityManagerStub) DeleteEntityCallCount

func (stub *EntityManagerStub) DeleteEntityCallCount() int

func (*EntityManagerStub) EntityComponent

func (stub *EntityManagerStub) EntityComponent(arg1 alias1.Entity, arg2 alias1.ComponentType) interface{}

func (*EntityManagerStub) EntityComponentArgsForCall

func (stub *EntityManagerStub) EntityComponentArgsForCall(index int) (alias1.Entity, alias1.ComponentType)

func (*EntityManagerStub) EntityComponentCallCount

func (stub *EntityManagerStub) EntityComponentCallCount() int

func (*EntityManagerStub) EntityComponentReturns

func (stub *EntityManagerStub) EntityComponentReturns(result1 interface{})

func (*EntityManagerStub) EntityHasComponent

func (stub *EntityManagerStub) EntityHasComponent(arg1 alias1.Entity, arg2 alias1.ComponentType) bool

func (*EntityManagerStub) EntityHasComponentArgsForCall

func (stub *EntityManagerStub) EntityHasComponentArgsForCall(index int) (alias1.Entity, alias1.ComponentType)

func (*EntityManagerStub) EntityHasComponentCallCount

func (stub *EntityManagerStub) EntityHasComponentCallCount() int

func (*EntityManagerStub) EntityHasComponentReturns

func (stub *EntityManagerStub) EntityHasComponentReturns(result1 bool)

func (*EntityManagerStub) HasEntity

func (stub *EntityManagerStub) HasEntity(arg1 alias1.Entity) bool

func (*EntityManagerStub) HasEntityArgsForCall

func (stub *EntityManagerStub) HasEntityArgsForCall(index int) alias1.Entity

func (*EntityManagerStub) HasEntityCallCount

func (stub *EntityManagerStub) HasEntityCallCount() int

func (*EntityManagerStub) HasEntityReturns

func (stub *EntityManagerStub) HasEntityReturns(result1 bool)

func (*EntityManagerStub) RemoveEntityComponent

func (stub *EntityManagerStub) RemoveEntityComponent(arg1 alias1.Entity, arg2 alias1.ComponentType)

func (*EntityManagerStub) RemoveEntityComponentArgsForCall

func (stub *EntityManagerStub) RemoveEntityComponentArgsForCall(index int) (alias1.Entity, alias1.ComponentType)

func (*EntityManagerStub) RemoveEntityComponentCallCount

func (stub *EntityManagerStub) RemoveEntityComponentCallCount() int

type EventListenerStub

type EventListenerStub struct {
	StubGUID    int
	OnEventStub func(arg1 alias1.Event)
	// contains filtered or unexported fields
}

func (*EventListenerStub) OnEvent

func (stub *EventListenerStub) OnEvent(arg1 alias1.Event)

func (*EventListenerStub) OnEventArgsForCall

func (stub *EventListenerStub) OnEventArgsForCall(index int) alias1.Event

func (*EventListenerStub) OnEventCallCount

func (stub *EventListenerStub) OnEventCallCount() int

type EventStub

type EventStub struct {
	StubGUID   int
	SourceStub func() (result1 alias1.Entity)
	// contains filtered or unexported fields
}

func (*EventStub) Source

func (stub *EventStub) Source() alias1.Entity

func (*EventStub) SourceCallCount

func (stub *EventStub) SourceCallCount() int

func (*EventStub) SourceReturns

func (stub *EventStub) SourceReturns(result1 alias1.Entity)

Jump to

Keyboard shortcuts

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