Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2015
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.02 KB | None | 0 0
  1. // Fill out your copyright notice in the Description page of Project Settings.
  2.  
  3. #pragma once
  4.  
  5. #include "Engine.h"
  6. #include "ShooterTutorial.generated.h" //  //without this you will get compile error after GENERATED_USTRUCT_BODY() - always add .generated.h
  7.  
  8. UENUM(BlueprintType)        //"BlueprintType" is essential to include so you can create this enum in Blueprints.
  9. enum class ELevelEnemyType : uint8   // Name of Enum. Need starts with 'E'. This enum will hold type of enemies inside the level. Just as information in level selection screen.
  10. {
  11.     ET_Robots   UMETA(DisplayName = "Robots"),
  12.     ET_Humans   UMETA(DisplayName = "Humans"),
  13.     ET_Aliens   UMETA(DisplayName = "Aliens")
  14. };
  15.  
  16. UENUM(BlueprintType)        //"BlueprintType" is essential to include so you can create this enum in Blueprints.
  17. enum class ELevelDifficulty : uint8  // This enum will hold level difficulty displayed in level selection screen.
  18. {
  19.     LD_Easy     UMETA(DisplayName = "Easy"),
  20.     LD_Medium   UMETA(DisplayName = "Medium"),
  21.     LD_Hard     UMETA(DisplayName = "Hard")
  22. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement