Oolite 1.91.0.7646-241128-10e222e
|
#include <OOLaserShotEntity.h>
Class Methods | |
(instancetype) | + laserFromShip:direction:offset: |
(void) | + setUpTexture |
(OOTexture *) | + innerTexture |
(OOTexture *) | + outerTexture |
(void) | + resetGraphicsState [implementation] |
Private Attributes | |
GLfloat | _color [4] |
OOTimeDelta | _lifetime |
GLfloat | _range |
Vector | _offset |
Quaternion | _relOrientation |
Definition at line 36 of file OOLaserShotEntity.h.
|
implementation |
Reimplemented from Entity.
Definition at line 182 of file OOLaserShotEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 55 of file OOLaserShotEntity.m.
References _color, _lifetime, _offset, _relOrientation, Entity::absolutePositionForSubentityOffset:, Entity::boundingBox, Entity::drawRotationMatrix, Entity::init, Entity::isShip, kIdentityQuaternion, kLaserAlpha, kLaserBlue, kLaserDuration, kLaserGreen, kLaserRed, M_PI, nil, Entity::normalOrientation, Entity::position, quaternion_rotate_about_axis(), Entity::rootShipEntity, Entity::setOrientation:, Entity::setOwner:, Entity::setPosition:, setRange:, Entity::setStatus:, vector_forward_from_quaternion(), vector_up_from_quaternion(), Entity::velocity, WEAPON_FACING_AFT, WEAPON_FACING_FORWARD, WEAPON_FACING_NONE, WEAPON_FACING_PORT, WEAPON_FACING_STARBOARD, and ShipEntity::weaponRange.
|
implementation |
Reimplemented from Entity.
Definition at line 55 of file OOLaserShotEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 182 of file OOLaserShotEntity.m.
|
implementation |
Definition at line 55 of file OOLaserShotEntity.m.
+ (OOTexture *) innerTexture |
Definition at line 182 of file OOLaserShotEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 182 of file OOLaserShotEntity.m.
+ (instancetype) laserFromShip: | (ShipEntity *) | ship | |
direction: | (OOWeaponFacing) | direction | |
offset: | (Vector) | offset |
Definition at line 55 of file OOLaserShotEntity.m.
+ (OOTexture *) outerTexture |
Definition at line 182 of file OOLaserShotEntity.m.
|
implementation |
Definition at line 182 of file OOLaserShotEntity.m.
- (void) setColor: | (OOColor *) | color |
Definition at line 55 of file OOLaserShotEntity.m.
- (void) setRange: | (GLfloat) | range |
Definition at line 55 of file OOLaserShotEntity.m.
Referenced by dealloc.
+ (void) setUpTexture |
Definition at line 182 of file OOLaserShotEntity.m.
- (OOTexture *) texture1 |
Definition at line 182 of file OOLaserShotEntity.m.
- (OOTexture *) texture2 |
Definition at line 182 of file OOLaserShotEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 55 of file OOLaserShotEntity.m.
|
private |
Definition at line 39 of file OOLaserShotEntity.h.
Referenced by dealloc.
|
private |
Definition at line 40 of file OOLaserShotEntity.h.
Referenced by dealloc.
|
private |
Definition at line 42 of file OOLaserShotEntity.h.
Referenced by dealloc.
|
private |
Definition at line 41 of file OOLaserShotEntity.h.
|
private |
Definition at line 43 of file OOLaserShotEntity.h.
Referenced by dealloc.