Very early KRWorldBuilder scaffolding in progress.
New KRVector3 math functions --HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4058
This commit is contained in:
25
KRWorldBuilder/KRWorldBuilder/KRWBFileSystemItem.h
Normal file
25
KRWorldBuilder/KRWorldBuilder/KRWBFileSystemItem.h
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// KRWBFileSystemItem.h
|
||||
// KRWorldBuilder
|
||||
//
|
||||
// Created by Kearwood Gilbert on 12-05-12.
|
||||
// Copyright (c) 2012 Kearwood Software. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface KRWBFileSystemItem : NSObject
|
||||
{
|
||||
NSURL *fullPath;
|
||||
KRWBFileSystemItem *parent;
|
||||
NSMutableArray *children;
|
||||
}
|
||||
|
||||
+ (KRWBFileSystemItem *)rootItem;
|
||||
- (NSInteger)numberOfChildren;// Returns -1 for leaf nodes
|
||||
- (KRWBFileSystemItem *)childAtIndex:(NSUInteger)n; // Invalid to call on leaf nodes
|
||||
- (NSURL *)fullPath;
|
||||
- (NSString *)relativePath;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user