Skip to content

Commit e8d7b34

Browse files
committed
Added 'BatteryPickup' C++ and blueprint classes
1 parent 7c6f579 commit e8d7b34

File tree

5 files changed

+32
-0
lines changed

5 files changed

+32
-0
lines changed
77.6 KB
Binary file not shown.
Binary file not shown.

Content/Maps/CollectionLevel.umap

626 Bytes
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Fill out your copyright notice in the Description page of Project Settings.
2+
3+
#include "BatteryCollector.h"
4+
#include "BatteryPickup.h"
5+
6+
//Set default values
7+
ABatteryPickup::ABatteryPickup()
8+
{
9+
GetMesh()->SetSimulatePhysics(true);
10+
}
11+
12+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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 BATTERYCOLLECTOR_API ABatteryPickup : public APickup
13+
{
14+
GENERATED_BODY()
15+
16+
public:
17+
// Sets default values for this actor's properties
18+
ABatteryPickup();
19+
20+
};

0 commit comments

Comments
 (0)