Kale
Loading...
Searching...
No Matches
Node.cpp
Go to the documentation of this file.
1/*
2 Copyright 2022 Rishi Challa
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15*/
16
17#include "Node.hpp"
18
19using namespace Kale;
20
25 // Empty Body
26}
27
33Node::Node(float preUpdateTime, float updateTime) : preUpdateTime(preUpdateTime), updateTime(updateTime) {
34 // Empty Body
35}
36
42void Node::begin(const Scene& scene) {
43 // Empty Body
44}
45
50void Node::render(const Camera& camera, float deltaTime) const {
51 // Empty Body
52}
53
60void Node::update(size_t threadNum, const Scene& scene, float deltaTime) {
61 // Empty Body
62}
63
70void Node::preUpdate(size_t threadNum, const Scene& scene, float deltaTime) {
71 // Empty Body
72}
73
77void Node::end(const Scene& scene) {
78 // Empty Body
79}
virtual void preUpdate(size_t threadNum, const Scene &scene, float deltaTime)
Definition Node.cpp:70
virtual void render(const Camera &camera, float deltaTime) const
Definition Node.cpp:50
virtual void update(size_t threadNum, const Scene &scene, float deltaTime)
Definition Node.cpp:60
virtual void begin(const Scene &scene)
Definition Node.cpp:42
virtual void end(const Scene &scene)
Definition Node.cpp:77