mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
fahhh
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/* Copyright 2003-2006 ROBLOX Corporation, All Rights Reserved */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "rbx/Debug.h"
|
||||
|
||||
namespace RBX {
|
||||
|
||||
class KernelIndex {
|
||||
protected:
|
||||
int kernelIndex;
|
||||
|
||||
public:
|
||||
bool indexInKernel() const {
|
||||
return (kernelIndex != -1);
|
||||
}
|
||||
|
||||
KernelIndex() : kernelIndex(-1)
|
||||
{}
|
||||
|
||||
~KernelIndex() {
|
||||
RBXASSERT(!indexInKernel());
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user