entity

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT, BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Pickups map[ID]Pickup = map[ID]Pickup{
	PickupShotgun:         Pickup{PickupShotgun, sound.PickUpAmmo, 10, 30},
	PickupMinigun:         Pickup{PickupMinigun, sound.PickUpAmmo, 20, 60},
	PickupRocketLauncher:  Pickup{PickupRocketLauncher, sound.PickUpAmmo, 5, 15},
	PickupRifle:           Pickup{PickupRifle, sound.PickUpAmmo, 5, 15},
	PickupGrenadeLauncher: Pickup{PickupGrenadeLauncher, sound.PickUpAmmo, 10, 30},
	PickupPistol:          Pickup{PickupPistol, sound.PickUpAmmo, 30, 120},
	PickupHealth:          Pickup{PickupHealth, sound.PickUpHealth, 25, 100},
	PickupBoost:           Pickup{PickupBoost, sound.PickUpHealth, 50, 200},
	PickupGreenArmour:     Pickup{PickupGreenArmour, sound.PickUpArmour, 100, 100},
	PickupYellowArmor:     Pickup{PickupYellowArmor, sound.PickUpArmour, 200, 200},
	PickupQuadDamage:      Pickup{PickupQuadDamage, sound.PickUpQuaddamage, 20000, 30000},
}

Functions

This section is empty.

Types

type ID

type ID int32
const (
	NotUsed ID = iota
	LIGHT
	MAPMODEL
	PLAYERSTART
	ENVMAP
	PARTICLES
	MAPSOUND
	SPOTLIGHT
	PickupShotgun // 8
	PickupMinigun
	PickupRocketLauncher
	PickupRifle
	PickupGrenadeLauncher
	PickupPistol
	PickupHealth
	PickupBoost
	PickupGreenArmour
	PickupYellowArmor
	PickupQuadDamage
	Teleport
	Teledest
	Monster
	CARROT
	JUMPPAD
	BASE
	RESPAWNPOINT
	BOX
	BARREL
	PLATFORM
	ELEVATOR
	FLAG
	MAXENTTYPES
)

type Pickup

type Pickup struct {
	Typ       ID
	Sound     sound.ID
	Amount    int32
	MaxAmount int32
}

Jump to

Keyboard shortcuts

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