-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSpriteCommander.cpp
81 lines (64 loc) · 2.58 KB
/
SpriteCommander.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*******************************************************************************
* FILE NAME: SpriteCommander.cpp *
* *
* DESCRIPTION: *
* Class implementation of the class: *
* SpriteCommander- Passes commands to the selected sprite *
* ---------------------------------------------------------------------------- *
* Warning: This file was generated by the VisualAge C++ Visual Builder. *
* Modifications to this source file will be lost when the part is regenerated. *
*******************************************************************************/
#ifndef _INOTIFEV_
#include <inotifev.hpp>
#endif
#ifndef _IOBSERVR_
#include <iobservr.hpp>
#endif
#ifndef _ISTDNTFY_
#include <istdntfy.hpp>
#endif
#ifndef _SPRITECOMMANDER_
#include "SpriteCommander.hpp"
#endif
#ifndef _IVBDEFS_
#include <ivbdefs.h>
#endif
#ifndef _ITRACE_
#include <itrace.hpp>
#endif
#pragma export (SpriteCommander::readyId)
const INotificationId SpriteCommander::readyId = "SpriteCommander::readyId";
//------------------------------------------------------------------------------
// SpriteCommander :: SpriteCommander
//------------------------------------------------------------------------------
#pragma export (SpriteCommander::SpriteCommander())
SpriteCommander::SpriteCommander()
{
} //end constructor
//------------------------------------------------------------------------------
// SpriteCommander :: ~SpriteCommander
//------------------------------------------------------------------------------
#pragma export (SpriteCommander::~SpriteCommander())
SpriteCommander::~SpriteCommander()
{
}
//------------------------------------------------------------------------------
// SpriteCommander :: initializePart
//------------------------------------------------------------------------------
#pragma export (SpriteCommander::initializePart())
SpriteCommander & SpriteCommander::initializePart()
{
makeConnections();
notifyObservers(INotificationEvent(readyId, *this));
return *this;
}
//------------------------------------------------------------------------------
// SpriteCommander :: makeConnections
//------------------------------------------------------------------------------
#pragma export (SpriteCommander::makeConnections())
Boolean SpriteCommander::makeConnections()
{
this->enableNotification();
return true;
}
#include "SpriteCommander.cpv"