coalitions

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: MIT Imports: 0 Imported by: 7

Documentation

Overview

package coalitions defines the coalitions in DCS World.

Index

Constants

View Source
const (
	// Red is the ID of the red coalition.
	Red = 1
	// Blue is the ID of the blue coalition.
	Blue = 2
	// Neutrals is the ID of the neutral coalition.
	Neutrals = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Coalition

type Coalition int

Coalition is the ID of a coalition in DCS World.

func All

func All() []Coalition

All returns all coalitions.

func (Coalition) Opposite

func (c Coalition) Opposite() Coalition

func (Coalition) String added in v0.2.0

func (c Coalition) String() string

String returns the string representation of a coalition.

Jump to

Keyboard shortcuts

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