Oolite
1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
src
Core
Entities
OORingEffectEntity.h
Go to the documentation of this file.
1
/*
2
3
OORingEffectEntity.h
4
5
Entity subclass for expanding-ring effect, used for hyperspace entry and for
6
some large explosions.
7
8
9
Oolite
10
Copyright (C) 2004-2013 Giles C Williams and contributors
11
12
This program is free software; you can redistribute it and/or
13
modify it under the terms of the GNU General Public License
14
as published by the Free Software Foundation; either version 2
15
of the License, or (at your option) any later version.
16
17
This program is distributed in the hope that it will be useful,
18
but WITHOUT ANY WARRANTY; without even the implied warranty of
19
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
GNU General Public License for more details.
21
22
You should have received a copy of the GNU General Public License
23
along with this program; if not, write to the Free Software
24
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25
MA 02110-1301, USA.
26
27
*/
28
29
#import "
Entity.h
"
30
31
32
@interface
OORingEffectEntity
:
Entity
33
{
34
@private
35
GLfloat
_timePassed
;
36
GLfloat
_innerRadius
,
37
_outerRadius
,
38
_innerGrowthRate
,
39
_outerGrowthRate
;
40
}
41
42
+ (instancetype) ringFromEntity:(
Entity
*)sourceEntity;
43
+ (instancetype) shrinkingRingFromEntity:(
Entity
*)sourceEntity;
44
45
@end
Entity.h
Entity
Definition
Entity.h:79
OORingEffectEntity
Definition
OORingEffectEntity.h:33
OORingEffectEntity::_outerRadius
GLfloat _outerRadius
Definition
OORingEffectEntity.h:37
OORingEffectEntity::_outerGrowthRate
GLfloat _outerGrowthRate
Definition
OORingEffectEntity.h:39
OORingEffectEntity::_timePassed
GLfloat _timePassed
Definition
OORingEffectEntity.h:35
OORingEffectEntity::_innerRadius
GLfloat _innerRadius
Definition
OORingEffectEntity.h:36
OORingEffectEntity::_innerGrowthRate
GLfloat _innerGrowthRate
Definition
OORingEffectEntity.h:38
Generated by
1.12.0