Included the missing dolphin.cpp and hpp files.

This commit is contained in:
Foxar
2020-12-04 00:20:43 +01:00
parent 17ef6b9fbc
commit b48d342adf
2 changed files with 149 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
/*
# ______ ____ ___
# | \/ ____| |___|
# | | | \ | |
#-----------------------------------------------------------------------
# Copyright 2020, tyra - https://github.com/h4570/tyra
# Licenced under Apache License 2.0
# Michał Mostowik <mostek3pl@gmail.com>
*/
#ifndef _DRIVER_
#define _DRIVER_
#include <tamtypes.h>
#include <audsrv.h>
#include <game.hpp>
#include <engine.hpp>
#include <models/light_bulb.hpp>
#include <models/sprite.hpp>
#include <modules/texture_repository.hpp>
#include "./camera.hpp"
#include "./objects/player.hpp"
class Dolphin : public Game
{
public:
Dolphin(Engine *t_engine);
~Dolphin();
void onInit();
void onUpdate();
Engine *engine;
private:
LightBulb bulb;
Player player;
Camera camera;
Mesh island, skybox, water, waterbox;
TextureRepository *texRepo;
Sprite waterOverlay;
};
#endif