WHY_CPP
0.1
Overview
Getting started
Modules
Class List
File List
whycpp
src
holders
sprites_holder.h
1
#pragma once
2
3
#include <whycpp/types.h>
4
#include <memory>
5
#include <vector>
6
#include "../i_object.h"
7
#include "../sprite.h"
8
9
class
SpritesHolder
:
public
IObject
{
10
std::vector<std::unique_ptr<Sprite>> sprites_;
11
12
public
:
13
i32 AppendSprite(
Sprite
*sprite);
14
Sprite
*GetSprite(i32 index)
const
;
15
~
SpritesHolder
()
override
;
16
};
IObject
Definition:
i_object.h:3
SpritesHolder
Definition:
sprites_holder.h:9
Sprite
Definition:
sprite.h:8
Generated by
1.8.11