Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (29 sloc) 0.839 kB
//
// BCSlidingWindowLayer.h
// ChiralX
//
// Created by Jeremy Knope on 8/31/09.
// Copyright 2009 Buttered Cat Software. All rights reserved.
//
#import <QuartzCore/CALayer.h>
@interface BCSlidingWindowLayer : CALayer {
CALayer *spriteSheetLayer;
CGImageRef spriteSheetImage;
double age;
NSUInteger currentFrame;
CGSize frameSize;
NSUInteger spriteRows;
NSUInteger spriteColumns;
NSUInteger frameCount;
}
@property(copy) NSString *imageName;
@property(assign) NSUInteger spriteColumns;
@property(assign) NSUInteger spriteRows;
@property(assign) NSUInteger frameCount;
@property(assign) NSUInteger currentFrame;
- (id)initWithCGImage:(CGImageRef)image frame:(CGRect)newFrame;
- (void)stepFrame;
- (void)updateWithInterval:(NSTimeInterval)timeInterval;
- (void)setCGImage:(CGImageRef)image;
- (CGImageRef)CGImage;
@end
Jump to Line
Something went wrong with that request. Please try again.