Advertisement
Guest User

Untitled

a guest
May 4th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. // Fill out your copyright notice in the Description page of Project Settings.
  2.  
  3. #pragma once
  4.  
  5. #include "Pickup.h"
  6. #include "BatteryPickup.generated.h"
  7.  
  8. /**
  9. *
  10. */
  11. UCLASS()
  12. class TUTORIALCODE_API ABatteryPickup : public APickup
  13. {
  14. GENERATED_BODY()
  15.  
  16. public:
  17.  
  18. // Sets battery power given when picked up by player
  19. UPROPERTY(Editanywhere, BlueprintReadWrite, Category = Power)
  20. float PowerLevel;
  21.  
  22. // Overrides the PickedUp Function. Uses Implementation as it's a Blueprint Native Event
  23. void OnPickedUp_Implementation() OVERRIDE;
  24.  
  25.  
  26.  
  27. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement