ctags

package
v0.0.0-...-e7326f8 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CTags

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

Collider tags. Used to define player

func MergeCTags

func MergeCTags(tags ...*CTags) *CTags

Merges two collider tags objects into one.

func New

func New() *CTags

Returns new instance of the collider tags.

func (*CTags) AddTag

func (t *CTags) AddTag(tag string)

Adds a new tag for this CTags object.

func (*CTags) AddTags

func (t *CTags) AddTags(tags []string)

Adds multiple tags from the slice of strings to this CTags objects.

func (*CTags) HasTag

func (t *CTags) HasTag(tag string) bool

Checks if this instance of CTags has given tag.

Jump to

Keyboard shortcuts

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