Lots of refactoring related to Movement Component State. Still not done yet.
This commit is contained in:
29
Source/Integration/LxCharacterBase.h
Normal file
29
Source/Integration/LxCharacterBase.h
Normal file
@@ -0,0 +1,29 @@
|
||||
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameFramework/Character.h"
|
||||
#include "MovementComponentState.h"
|
||||
#include "LxCharacterBase.generated.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
//
|
||||
// We provide an AlxCharacterBase for characters in Luprex.
|
||||
//
|
||||
//////////////////////////////////////////////////////////
|
||||
|
||||
UCLASS(BlueprintType)
|
||||
class INTEGRATION_API AlxCharacterBase : public ACharacter
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
AlxCharacterBase() {}
|
||||
|
||||
// Set the movement component mode. This is a thin wrapper
|
||||
// around CharacterMovementComponent::SetMovementMode.
|
||||
//
|
||||
UFUNCTION(BlueprintCallable, Category = "Luprex|Movement Component State")
|
||||
void SetMovementComponentMode(EMovementMode MovementMode = MOVE_None);
|
||||
};
|
||||
Reference in New Issue
Block a user