mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 13:17:49 +00:00
fahhh
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
/* Copyright 2003-2005 ROBLOX Corporation, All Rights Reserved */
|
||||
|
||||
#include "V8World/Controller.h"
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace RBX {
|
||||
|
||||
class SurfaceData {
|
||||
public:
|
||||
LegacyController::InputType inputType;
|
||||
float paramA;
|
||||
float paramB;
|
||||
|
||||
SurfaceData()
|
||||
: inputType(LegacyController::NO_INPUT)
|
||||
, paramA(-0.5)
|
||||
, paramB(0.5)
|
||||
{}
|
||||
|
||||
bool operator== (const SurfaceData& other) const {
|
||||
return ( inputType == other.inputType
|
||||
&& paramA == other.paramA
|
||||
&& paramB == other.paramB );
|
||||
}
|
||||
|
||||
static const SurfaceData& empty() {static SurfaceData s; return s;}
|
||||
|
||||
bool isEmpty() const {return *this == empty();}
|
||||
};
|
||||
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user