MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getGlobalType

Method getGlobalType

src/Savegame/CraftWeaponProjectile.cpp:65–68  ·  view source on GitHub ↗

* Returns the global type of projectile. * @return 0 - if it's a missile, 1 if beam. */

Source from the content-addressed store, hash-verified

63 * @return 0 - if it's a missile, 1 if beam.
64 */
65CraftWeaponProjectileGlobalType CraftWeaponProjectile::getGlobalType() const
66{
67 return _globalType;
68}
69
70/*
71 * Sets the direction of the projectile.

Callers 2

moveMethod · 0.80
drawProjectileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected