Format more engine code

This commit is contained in:
Wojtek Figat
2022-06-14 20:17:00 +02:00
parent 7c923198e0
commit b49e5e9984
219 changed files with 348 additions and 1236 deletions

View File

@@ -9,9 +9,8 @@
/// </summary>
API_CLASS(NoSpawn) class FLAXENGINE_API Keyboard : public InputDevice
{
DECLARE_SCRIPTING_TYPE_NO_SPAWN(Keyboard);
DECLARE_SCRIPTING_TYPE_NO_SPAWN(Keyboard);
protected:
struct State
{
uint16 InputTextLength;
@@ -26,7 +25,6 @@ protected:
explicit Keyboard();
public:
/// <summary>
/// Gets the text entered during the current frame.
/// </summary>
@@ -72,7 +70,6 @@ public:
API_PROPERTY() bool IsAnyKeyDown() const;
public:
/// <summary>
/// Called when keyboard enters input character.
/// </summary>
@@ -95,7 +92,6 @@ public:
void OnKeyDown(KeyboardKeys key, Window* target = nullptr);
public:
// [InputDevice]
void ResetState() override;;
bool Update(EventQueue& queue) final override;