This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#import "Sparrow.h" | |
@interface SXFPSMeter : SPTextField{ | |
} | |
- (void)update:(SPEnterFrameEvent*)event; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#import "Sparrow.h" | |
#import "SPCompiledSprite.h" | |
#import "SXTilemap.h" | |
#define SX_COMPILED_TILEMAP_RENDER_COMPLETE_EVENT @"renderComplete" | |
@interface SXCompiledTileMap : SXTilemap { | |
int quadrantsX; | |
int quadrantsY; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)someMethod{ | |
StartTimeLog | |
// do some stuff | |
EndTimeLog | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "SXPointSpriteGroup.h" | |
@implementation SXPointSpriteGroup | |
@synthesize texture; | |
- (id)initWithTexture:(SPTexture*)t andNumSprites:(int)amount{ | |
self = [super init]; | |
numPointSprites = amount; | |
self.texture = t; | |
[self reset]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "SXJoypad.h" | |
@implementation SXJoypad | |
@synthesize centerPoint; | |
@synthesize verticalDirection; | |
@synthesize horizontalDirection; | |
@synthesize projection; | |
@synthesize angle; | |
@synthesize projectionModifier; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "SXSlider.h" | |
@implementation SXSlider | |
@synthesize handle; | |
@synthesize track; | |
@synthesize value; | |
@synthesize min; | |
@synthesize max; | |
@synthesize percentage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "SXSwitch.h" | |
@implementation SXSwitch | |
@synthesize on; | |
@synthesize onGraphic; | |
@synthesize offGraphic; | |
- (id)init{ | |
self = [super init]; | |
on = YES; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
#import <AVFoundation/AVFoundation.h> | |
#import <CoreGraphics/CoreGraphics.h> | |
#import <CoreVideo/CoreVideo.h> | |
#import <CoreMedia/CoreMedia.h> | |
@class PXRCamView; | |
@protocol PXRCamViewDelegate | |
- (void)camView:(PXRCamView*)cv didCaptureImage:(UIImage*)img; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@interface WritableDirectory : NSObject | |
+ (NSString*)getDir; | |
@end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
/** | |
* A camera to help with Orthagonal mode when you need it to lock to pixels. Desiged to be used on android and retina devices. | |
*/ | |
public class PixelPerfectCam : MonoBehaviour { | |
/** | |
* The target size of the view port. | |
*/ | |
public Vector2 targetViewportSizeInPixels = new Vector2(480.0f, 320.0f); | |
/** |
OlderNewer