You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
424 B
18 lines
424 B
#pragma once
|
|
#include "olcPixelGameEngine.h"
|
|
#include "MemoryType.h"
|
|
|
|
class Unit;
|
|
|
|
class CollectionPoint{
|
|
public:
|
|
vf2d pos;
|
|
Renderable img;
|
|
Sprite*originalCollectionPointImg;
|
|
MemoryType type;
|
|
vf2d randomOffset;
|
|
float rot;
|
|
std::weak_ptr<Unit>attachedUnit;
|
|
CollectionPoint(PixelGameEngine*pge,vf2d pos,float rot,Renderable&collectionPointImg,MemoryType type);
|
|
void Update(PixelGameEngine*pge,Renderable&matrixImg);
|
|
}; |