This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
LEFTONE/core/loscene/scene.h
falsycat 84c3a02b9a [RELEASE] u22-v03
This version is submitted to U22 breau.
2020-09-14 00:00:00 +00:00

44 lines
579 B
C

#pragma once
#include "core/locommon/input.h"
struct loscene_t;
typedef struct loscene_t loscene_t;
typedef struct {
void
(*delete)(
loscene_t* scene
);
loscene_t*
(*update)(
loscene_t* scene,
const locommon_input_t* input
);
void
(*draw)(
loscene_t* scene
);
} loscene_vtable_t;
struct loscene_t {
loscene_vtable_t vtable;
};
void
loscene_delete(
loscene_t* scene
);
loscene_t*
loscene_update(
loscene_t* scene,
const locommon_input_t* input
);
void
loscene_draw(
loscene_t* scene
);