Definition at line 47 of file WormholeEntity.m.
◆ init
Extends class WormholeEntity.
Definition at line 58 of file WormholeEntity.m.
59{
60 if ((
self = [super
init])) {
61 witch_mass = 0.0;
62 shipsInTransit = [[NSMutableArray arrayWithCapacity:4] retain];
63 collision_radius = 0.0;
64 [self setStatus:STATUS_EFFECT];
65 scanClass = CLASS_WORMHOLE;
66 isWormhole = YES;
68 scan_time = 0;
69 hasExitPosition = NO;
70 containsPlayer = NO;
71 exit_speed = 50.0;
72 }
73 return self;
74}
References init, Entity::setStatus:, and WH_SCANINFO_NONE.
Referenced by init.
The documentation for this category was generated from the following file: