git repos / blockattack-game

blame: source/code/HelpHowtoState.hpp

normal view · raw

d8fe60bd sago007 2018-04-02 16:15 1
/*
d8fe60bd sago007 2018-04-02 16:15 2
===========================================================================
d8fe60bd sago007 2018-04-02 16:15 3
blockattack - Block Attack - Rise of the Blocks
d8fe60bd sago007 2018-04-02 16:15 4
Copyright (C) 2005-2018 Poul Sander
d8fe60bd sago007 2018-04-02 16:15 5
d8fe60bd sago007 2018-04-02 16:15 6
This program is free software: you can redistribute it and/or modify
d8fe60bd sago007 2018-04-02 16:15 7
it under the terms of the GNU General Public License as published by
d8fe60bd sago007 2018-04-02 16:15 8
the Free Software Foundation, either version 2 of the License, or
d8fe60bd sago007 2018-04-02 16:15 9
(at your option) any later version.
d8fe60bd sago007 2018-04-02 16:15 10
d8fe60bd sago007 2018-04-02 16:15 11
This program is distributed in the hope that it will be useful,
d8fe60bd sago007 2018-04-02 16:15 12
but WITHOUT ANY WARRANTY; without even the implied warranty of
d8fe60bd sago007 2018-04-02 16:15 13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
d8fe60bd sago007 2018-04-02 16:15 14
GNU General Public License for more details.
d8fe60bd sago007 2018-04-02 16:15 15
d8fe60bd sago007 2018-04-02 16:15 16
You should have received a copy of the GNU General Public License
d8fe60bd sago007 2018-04-02 16:15 17
along with this program.  If not, see http://www.gnu.org/licenses/
d8fe60bd sago007 2018-04-02 16:15 18
d8fe60bd sago007 2018-04-02 16:15 19
Source information and contacts persons can be found at
d8fe60bd sago007 2018-04-02 16:15 20
https://blockattack.net
d8fe60bd sago007 2018-04-02 16:15 21
===========================================================================
d8fe60bd sago007 2018-04-02 16:15 22
*/
d8fe60bd sago007 2018-04-02 16:15 23
d8fe60bd sago007 2018-04-02 16:15 24
#ifndef HELPHOWTOSTATE_HPP
d8fe60bd sago007 2018-04-02 16:15 25
#define HELPHOWTOSTATE_HPP
d8fe60bd sago007 2018-04-02 16:15 26
ec3f09de Poul Sander 2022-01-29 14:33 27
#include "HelpCommon.hpp"
d8fe60bd sago007 2018-04-02 16:15 28
#include "sago/SagoTextField.hpp"
d8fe60bd sago007 2018-04-02 16:15 29
#include "sago/SagoTextBox.hpp"
d8fe60bd sago007 2018-04-02 16:15 30
ec3f09de Poul Sander 2022-01-29 14:33 31
class HelpHowtoState : public HelpCommonState {
d8fe60bd sago007 2018-04-02 16:15 32
public:
d8fe60bd sago007 2018-04-02 16:15 33
	HelpHowtoState();
d8fe60bd sago007 2018-04-02 16:15 34
	HelpHowtoState(const HelpHowtoState& orig) = delete;
d8fe60bd sago007 2018-04-02 16:15 35
	virtual ~HelpHowtoState();
d8fe60bd sago007 2018-04-02 16:15 36
	void Draw(SDL_Renderer* target) override;
d8fe60bd sago007 2018-04-02 16:15 37
	void Update() override;
d8fe60bd sago007 2018-04-02 16:15 38
d8fe60bd sago007 2018-04-02 16:15 39
private:
d8fe60bd sago007 2018-04-02 16:15 40
	bool isActive = true;
d4f28be2 sago007 2018-04-24 09:33 41
	bool bMouseUp = true;
d8fe60bd sago007 2018-04-02 16:15 42
};
d8fe60bd sago007 2018-04-02 16:15 43
d8fe60bd sago007 2018-04-02 16:15 44
#endif /* HELPHOWTOSTATE_HPP */
d8fe60bd sago007 2018-04-02 16:15 45
1970-01-01 00:00 46