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:
kearwood
2012-06-07 17:19:29 +00:00
parent 0b76fadeef
commit cad53fcf69
15 changed files with 545 additions and 164 deletions

View 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