Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
File Members
ivorium_graphics
Animation
Connectors
Activator_AnimNode.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "../Animation/AnimNode.hpp"
4
5
#include <
ivorium_core/ivorium_core.hpp
>
6
7
namespace
iv
8
{
9
10
class
Activator_AnimNode
:
public
iv::AnimNode
< iv::Activator >
11
{
12
public
:
13
Activator_AnimNode
(
iv::Instance
* inst ) :
14
iv
::
AnimNode
<
iv
::
Activator
>( inst,
iv
::
Activator
() )
15
{
16
}
17
18
void
Activate
()
19
{
20
this->
Target
( this->
Target
().MakeActivated() );
21
}
22
};
23
24
}