/[hegemonie]/hegemonie/Source/Interface.m
ViewVC logotype

Diff of /hegemonie/Source/Interface.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by zaral, Fri Jul 25 15:29:17 2003 UTC revision 1.2 by dam, Mon Jul 28 14:45:29 2003 UTC
# Line 34  Line 34 
34    self = [super init];    self = [super init];
35    if (self != nil)    if (self != nil)
36      {      {
37        _presentation = [[PresentationFrame alloc] init];        _presentationFrame = [[PresentationFrame alloc] initWithInterface: self];
38        _join = [[JoinFrame alloc] init];        _joinFrame = [[JoinFrame alloc] initWithInterface: self];
39        _game = [[GameFrame alloc] init];        _gameFrame = [[GameFrame alloc] initWithInterface: self];
40    
41        [self addFrame: _presentation];        [self addFrame: _presentationFrame];
42        [self addFrame: _join];        [self addFrame: _joinFrame];
43        [self addFrame: _game];        [self addFrame: _gameFrame];
44    
45        [self setCurrentFrame: _game];        [self setCurrentFrame: _presentationFrame];
46      }      }
47        
48    return self;    return self;
# Line 50  Line 50 
50    
51  - (void) dealloc  - (void) dealloc
52  {  {
53    RELEASE(_presentation);    RELEASE(_presentationFrame);
54    RELEASE(_join);    RELEASE(_joinFrame);
55    RELEASE(_game);    RELEASE(_gameFrame);
56    
57    [super dealloc];    [super dealloc];
58  }  }
59    
60  - (PresentationFrame *) presentation  - (PresentationFrame *) presentationFrame
61  {  {
62    return _presentation;    return _presentationFrame;
63  }  }
64    
65  - (JoinFrame *) join  - (JoinFrame *) joinFrame
66  {  {
67    return _join;    return _joinFrame;
68  }  }
69    
70  - (GameFrame *) game  - (GameFrame *) gameFrame
71  {  {
72    return _game;    return _gameFrame;
73  }  }
74    
75  @end  @end

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26