X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Ffpp-game%2Fgame-renderer.h;h=926b25d8c24f6baef9a535f195b0213660cbaa8b;hb=1b19fd140ff139b5854a1a62447faf31b175d8f6;hp=de1222bf8255784e0f967e0b429b3f5e76daf94e;hpb=d9253e5ef3a09dd18b4e0c59eabc8379d0c8138a;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/examples/fpp-game/game-renderer.h b/examples/fpp-game/game-renderer.h index de1222b..926b25d 100644 --- a/examples/fpp-game/game-renderer.h +++ b/examples/fpp-game/game-renderer.h @@ -2,7 +2,7 @@ #define GAME_RENDERER_H /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,7 +31,6 @@ class GameTexture; class GameRenderer { public: - /** * Creates an instance of the GameRenderer */ @@ -47,14 +46,14 @@ public: * Resets the Dali::Renderer or creates new one on first time setup * @param[in] model Pointer to the GameModel object */ - void SetModel( GameModel* model ); + void SetModel(GameModel* model); /** * Sets main texture on the renderer * Resets the Dali::Renderer or creates new one on first time setup * @param[in] texture Pointer to the GameTexture object */ - void SetMainTexture( GameTexture* texture ); + void SetMainTexture(GameTexture* texture); /** * Retrieves DALi renderer object @@ -62,17 +61,15 @@ public: Dali::Renderer& GetRenderer(); private: - /** * Initialises rendering data */ void Setup(); private: - - Dali::Renderer mRenderer; - GameModel* mModel; - GameTexture* mTexture; + Dali::Renderer mRenderer; + GameModel* mModel; + GameTexture* mTexture; }; #endif