Isaac 2D  1.0
PETwo.h
1 // // IsaacFramework //
3 // //////////////////////
4 //
5 // Copyright (c) 2014 Horatiu Condrea
6 //
7 // This software is provided 'as-is', without any express or implied warranty.
8 // In no event will the authors be held liable for any damages arising from the use of this software.
9 //
10 // Permission is granted to anyone to use this software for any purpose, including commercial applications,
11 // and to alter it and redistribute it freely, subject to the following restrictions:
12 //
13 // 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. a
14 // If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
15 //
16 // 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
17 //
18 // 3. This notice may not be removed or altered from any source distribution.
19 //
21 /*
22 Copyright @ 2014
23 Author Horatiu Condrea [ horiacondrea.com ]
24 Revision | Who | Date | Comment
25 ------------------------------------------------------------------------------------------------------------------------------------------
26 1.0 | hc | August 2014 | Created
27 */
28 
29 #pragma once
30 
31 #include <IProcessingElement.h>
32 namespace Test {
33 
35  {
36  public:
38  std::string ac_szSceneName);
39 
40  void mp_InitProcess(std::shared_ptr<sf::RenderWindow> ac_xMainWindow,
41  std::shared_ptr<const isaac::CTransientDataCollection>& ac_xTransientData);
42 
43  void mp_InitTriggers(std::shared_ptr<isaac::CTriggerCollection>& ac_xGlobalTriggersColl,
44  const std::shared_ptr<isaac::CTriggerCollection>& ac_xLoacalTriggersColl);
45 
46  void mp_UpdateScene(std::shared_ptr<sf::RenderWindow> ac_xMainWindow,
47  std::shared_ptr<const isaac::CTransientDataCollection>& ac_xTransientData,
48  sf::Event av_eventSFMLEvent,
49  bool& av_bReturnedBool_WindowClosed);
50 
51  void mp_DrawScene(std::shared_ptr<sf::RenderWindow> ac_xMainWindow) const;
52 
53  void mp_Release(std::shared_ptr<const isaac::CTransientDataCollection>& av_xTransientData, std::string ac_szTriggerName);
54 
55  ~PETwo();
56  };
57 
58 }
Definition: IProcessingElement.h:42
Definition: DynamicAspect.cpp:35
void mp_InitTriggers(std::shared_ptr< isaac::CTriggerCollection > &ac_xGlobalTriggersColl, const std::shared_ptr< isaac::CTriggerCollection > &ac_xLoacalTriggersColl)
Definition: PETwo.cpp:46
void mp_DrawScene(std::shared_ptr< sf::RenderWindow > ac_xMainWindow) const
Definition: PETwo.cpp:60
Definition: PETwo.h:34
ProcessType
Definition: IProcessingElement.h:52