Data/Status.h

00001 //
00002 //  Status.h
00003 //  MacTrek
00004 //
00005 //  Created by Aqua on 23/04/2006.
00006 //  Copyright 2006 Luky Soft. All rights reserved.
00007 //
00008 
00009 #import <Cocoa/Cocoa.h>
00010 
00011 @interface Status : NSObject {
00012         bool tourn;    // $$ when set???
00013         // Was I Promoted?
00014         bool promoted;    
00015         // These stats only updated during tournament mode
00016         int armsbomb; 
00017         int planets;
00018         int kills; 
00019         int losses;
00020         int timeElapsed;    
00021         // Use long for this, so it never wraps
00022         long timeprod;    
00023         // flag that indicates we are playing as an observer
00024         bool observer;
00025 }
00026 
00027 -(int) armiesBombed; 
00028 -(int) planets;
00029 -(int) kills; 
00030 -(int) losses;
00031 -(long) timeProductive;    
00032 
00033 -(void) setObserver:(bool)on;
00034 -(void) setPromoted:(bool)prom;
00035 -(void) updateTournament: (int)newTournament
00036             armiesBombed: (int)newArmiesBombed
00037             planetsTaken: (int)newPlanets
00038                    kills: (int)newKills 
00039                   losses: (int)newLosses
00040                     time: (int)newTime
00041                 timeProd: (int)newTimeProd;
00042 
00043 @end

Generated on Sat Aug 26 21:14:11 2006 for MacTrek by  doxygen 1.4.7