Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
File Members
ivorium_graphics
Elements
PickableSlot.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Slot.hpp
"
4
#include <
ivorium_systems/ivorium_systems.hpp
>
5
6
namespace
iv
7
{
8
13
class
PickableSlot
:
public
Slot
,
public
Position_InputNode::Tester
14
{
15
public
:
16
ClientMarker
cm
;
17
using
Slot::instance
;
18
19
PickableSlot
(
Instance
* inst );
20
21
void
pickable_elem
(
Pickable
*
pickable
);
22
float2
input_position_local
();
23
24
Position_InputNode
input
;
25
26
protected
:
27
// Position_InputNode
28
virtual
bool
position_test
(
int2
input_pos )
override
;
29
30
protected
:
31
Pickable
*
pickable
;
32
33
};
34
35
}