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,25 @@
|
||||
/* Copyright 2003-2005 ROBLOX Corporation, All Rights Reserved */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Tool/AxisMoveTool.h"
|
||||
|
||||
namespace RBX {
|
||||
|
||||
extern const char* const sAxisRotateTool;
|
||||
class AxisRotateTool : public Named<AxisToolBase, sAxisRotateTool>
|
||||
{
|
||||
private:
|
||||
/*override*/ Color3 getHandleColor() const {return Color3::green();}
|
||||
/*override*/ HandleType getDragType() const {return HANDLE_ROTATE;}
|
||||
|
||||
public:
|
||||
AxisRotateTool(Workspace* workspace) : Named<AxisToolBase, sAxisRotateTool>(workspace)
|
||||
{}
|
||||
|
||||
/*override*/ shared_ptr<MouseCommand> isSticky() const {return Creatable<MouseCommand>::create<AxisRotateTool>(workspace);}
|
||||
};
|
||||
|
||||
|
||||
|
||||
} // namespace RBX
|
||||
Reference in New Issue
Block a user