diff options
Diffstat (limited to 'src/T2DLL/T2ObjectArrayList.cpp')
-rw-r--r-- | src/T2DLL/T2ObjectArrayList.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/T2DLL/T2ObjectArrayList.cpp b/src/T2DLL/T2ObjectArrayList.cpp index 20ccd32..906c324 100644 --- a/src/T2DLL/T2ObjectArrayList.cpp +++ b/src/T2DLL/T2ObjectArrayList.cpp @@ -6,8 +6,12 @@ T2ObjectArrayList::T2ObjectArrayList() { /*virtual*/ T2ObjectArrayList::~T2ObjectArrayList() { } -void T2ObjectArrayList::AddObjectArray(T2ObjectArray*) { +void T2ObjectArrayList::AddObjectArray(T2ObjectArray* inArray) { + Add(&inArray); } -T2ObjectArray* T2ObjectArrayList::GetObjectArrayAt(int) { +T2ObjectArray* T2ObjectArrayList::GetObjectArrayAt(int inIndex) { + T2ObjectArray *theArray; + FetchItemAt(inIndex, &theArray); + return theArray; } |