project_files/HedgewarsMobile/Classes/AmmoMenuViewController.h
changeset 6624 e049b5bb0ad1
parent 6623 6bf169f1e97c
child 6625 2d8c5815292f
equal deleted inserted replaced
6623:6bf169f1e97c 6624:e049b5bb0ad1
     1 /*
       
     2  * Hedgewars-iOS, a Hedgewars port for iOS devices
       
     3  * Copyright (c) 2009-2011 Vittorio Giovara <vittorio.giovara@gmail.com>
       
     4  *
       
     5  * This program is free software; you can redistribute it and/or modify
       
     6  * it under the terms of the GNU General Public License as published by
       
     7  * the Free Software Foundation; version 2 of the License
       
     8  *
       
     9  * This program is distributed in the hope that it will be useful,
       
    10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    12  * GNU General Public License for more details.
       
    13  *
       
    14  * You should have received a copy of the GNU General Public License
       
    15  * along with this program; if not, write to the Free Software
       
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
       
    17  *
       
    18  * File created on 03/10/2010.
       
    19  */
       
    20 
       
    21 
       
    22 #import <UIKit/UIKit.h>
       
    23 
       
    24 
       
    25 @interface AmmoMenuViewController : UIViewController {
       
    26     NSArray *buttonsArray;
       
    27     NSArray *imagesArray;
       
    28     
       
    29     UILabel *nameLabel;
       
    30     UILabel *extraLabel;
       
    31     UILabel *captionLabel;
       
    32 
       
    33     uint8_t *delay;
       
    34     BOOL *shouldUpdateImage;
       
    35     CGPoint currentPoint;
       
    36     CGPoint placingPoint;
       
    37     BOOL isVisible;
       
    38 }
       
    39 
       
    40 @property (retain) NSArray *buttonsArray;
       
    41 @property (retain) NSArray *imagesArray;
       
    42 @property (nonatomic,retain) UILabel *nameLabel;
       
    43 @property (nonatomic,retain) UILabel *extraLabel;
       
    44 @property (nonatomic,retain) UILabel *captionLabel;
       
    45 @property (assign) BOOL isVisible;
       
    46 
       
    47 -(void) buttonPressed:(id) sender;
       
    48 -(void) buttonReleased:(id) sender;
       
    49 -(void) buttonCancelled:(id) sender;
       
    50 -(void) appearInView:(UIView *)container;
       
    51 -(void) disappear;
       
    52 -(void) updateAmmoVisuals;
       
    53 -(void) loadLabels;
       
    54 -(void) loadAmmoStuff:(id) object;
       
    55 
       
    56 @end