VirusAttack/olcCodeJam2023Entry/CollectionPoint.h

15 lines
377 B
C
Raw Normal View History

#pragma once
#include "olcPixelGameEngine.h"
#include "MemoryType.h"
class CollectionPoint{
public:
vf2d pos;
Renderable img;
Sprite*originalCollectionPointImg;
MemoryType type;
vf2d randomOffset;
float rot;
CollectionPoint(PixelGameEngine*pge,vf2d pos,float rot,Renderable&collectionPointImg,MemoryType type);
void Update(PixelGameEngine*pge,Renderable&matrixImg);
};