Add Structs for Inventory Grid

This commit is contained in:
Philip W 2023-10-13 21:25:01 +01:00
parent fbe820853c
commit c75125027b
4 changed files with 32 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

@ -3,7 +3,6 @@
#pragma once
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "BaseItem.generated.h"
USTRUCT(BlueprintType)

View File

@ -0,0 +1,28 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "InventoryStructs.generated.h"
/**
*
*/
USTRUCT(BlueprintType)
struct FInventoryLines
{
GENERATED_BODY()
FVector2D Start;
FVector2D End;
};
USTRUCT(BlueprintType)
struct FInventoryTiles
{
GENERATED_BODY()
int X;
int Y;
};