mock

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInputer

type MockInputer struct {
	// contains filtered or unexported fields
}

MockInputer is a mock of Inputer interface.

func NewMockInputer

func NewMockInputer(ctrl *gomock.Controller) *MockInputer

NewMockInputer creates a new mock instance.

func (*MockInputer) CursorPosition

func (m *MockInputer) CursorPosition() (int, int)

CursorPosition mocks base method.

func (*MockInputer) EXPECT

func (m *MockInputer) EXPECT() *MockInputerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInputer) IsKeyJustPressed

func (m *MockInputer) IsKeyJustPressed(arg0 ebiten.Key) bool

IsKeyJustPressed mocks base method.

func (*MockInputer) IsMouseButtonJustPressed

func (m *MockInputer) IsMouseButtonJustPressed(arg0 ebiten.MouseButton) bool

IsMouseButtonJustPressed mocks base method.

type MockInputerMockRecorder

type MockInputerMockRecorder struct {
	// contains filtered or unexported fields
}

MockInputerMockRecorder is the mock recorder for MockInputer.

func (*MockInputerMockRecorder) CursorPosition

func (mr *MockInputerMockRecorder) CursorPosition() *gomock.Call

CursorPosition indicates an expected call of CursorPosition.

func (*MockInputerMockRecorder) IsKeyJustPressed

func (mr *MockInputerMockRecorder) IsKeyJustPressed(arg0 interface{}) *gomock.Call

IsKeyJustPressed indicates an expected call of IsKeyJustPressed.

func (*MockInputerMockRecorder) IsMouseButtonJustPressed

func (mr *MockInputerMockRecorder) IsMouseButtonJustPressed(arg0 interface{}) *gomock.Call

IsMouseButtonJustPressed indicates an expected call of IsMouseButtonJustPressed.

Jump to

Keyboard shortcuts

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