Oolite
Loading...
Searching...
No Matches
WormholeEntity(Private) Category Reference

Instance Methods

(id) - init

Detailed Description

Definition at line 47 of file WormholeEntity.m.

Method Documentation

◆ init

- (id) 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;
67 scan_info = WH_SCANINFO_NONE;
68 scan_time = 0;
69 hasExitPosition = NO;
70 containsPlayer = NO;
71 exit_speed = 50.0;
72 }
73 return self;
74}
@ WH_SCANINFO_NONE

References init, Entity::setStatus:, and WH_SCANINFO_NONE.

Referenced by init.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this category was generated from the following file: