Oolite
Loading...
Searching...
No Matches
OOWaypointEntity.h
Go to the documentation of this file.
1
/*
2
3
OOWaypoint.h
4
5
A waypoint for the HUD
6
7
8
Oolite
9
Copyright (C) 2004-2013 Giles C Williams and contributors
10
11
This program is free software; you can redistribute it and/or
12
modify it under the terms of the GNU General Public License
13
as published by the Free Software Foundation; either version 2
14
of the License, or (at your option) any later version.
15
16
This program is distributed in the hope that it will be useful,
17
but WITHOUT ANY WARRANTY; without even the implied warranty of
18
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
GNU General Public License for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with this program; if not, write to the Free Software
23
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
24
MA 02110-1301, USA.
25
26
*/
27
28
#pragma once
29
30
#import "
Entity.h
"
31
32
@interface
OOWaypointEntity
:
Entity
<
OOBeaconEntity
> {
33
@private
34
OOScalar
_size
;
35
36
NSString*
_beaconCode
;
37
NSString*
_beaconLabel
;
38
OOWeakReference
*
_prevBeacon
;
39
OOWeakReference
*
_nextBeacon
;
40
id<OOHUDBeaconIcon>
_beaconDrawable
;
41
BOOL
oriented
;
42
}
43
44
+ (instancetype)waypointWithDictionary:(NSDictionary*)info;
45
46
- (id)initWithDictionary:(NSDictionary*)info;
47
48
- (BOOL)
oriented
;
49
- (
OOScalar
)
size
;
50
- (void)setSize:(
OOScalar
)newSize;
51
52
@end
Entity.h
OOScalar
GLfloat OOScalar
Definition
OOMaths.h:49
Entity
Definition
Entity.h:75
OOWaypointEntity
Definition
OOWaypointEntity.h:32
-[OOWaypointEntity size]
OOScalar size()
Definition
OOWaypointEntity.m:96
OOWaypointEntity::_beaconDrawable
id< OOHUDBeaconIcon > _beaconDrawable
Definition
OOWaypointEntity.h:40
OOWaypointEntity::_nextBeacon
OOWeakReference * _nextBeacon
Definition
OOWaypointEntity.h:39
OOWaypointEntity::_beaconCode
NSString * _beaconCode
Definition
OOWaypointEntity.h:36
OOWaypointEntity::oriented
BOOL oriented
Definition
OOWaypointEntity.m:91
OOWaypointEntity::_beaconLabel
NSString * _beaconLabel
Definition
OOWaypointEntity.h:37
OOWaypointEntity::_prevBeacon
OOWeakReference * _prevBeacon
Definition
OOWaypointEntity.h:38
OOWaypointEntity::_size
OOScalar _size
Definition
OOWaypointEntity.h:34
OOWeakReference
Definition
OOWeakReference.h:107
OOBeaconEntity-p
Definition
Entity.h:307
src
Core
Entities
OOWaypointEntity.h
Generated by
1.15.0