Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BaseInterface::Room::Goto Class Reference

#include <base.h>

Inheritance diagram for BaseInterface::Room::Goto:
BaseInterface::Room::Link

Public Member Functions

virtual void Click (::BaseInterface *base, float x, float y, int button, int state)
 
virtual ~Goto ()
 
 Goto (const std::string &ind, const std::string &pythonfile)
 

Public Attributes

int index
 

Additional Inherited Members

Detailed Description

Definition at line 75 of file base.h.

Constructor & Destructor Documentation

virtual BaseInterface::Room::Goto::~Goto ( )
inlinevirtual

Definition at line 80 of file base.h.

80 {}
BaseInterface::Room::Goto::Goto ( const std::string &  ind,
const std::string &  pythonfile 
)
inlineexplicit

Definition at line 81 of file base.h.

81 : Link( ind, pythonfile ) {}

Member Function Documentation

void BaseInterface::Room::Goto::Click ( ::BaseInterface base,
float  x,
float  y,
int  button,
int  state 
)
virtual

Reimplemented from BaseInterface::Room::Link.

Definition at line 1292 of file base_interface.cpp.

References BaseInterface::Room::Link::Click(), BaseInterface::GotoLink(), index, and WS_MOUSE_UP.

1293 {
1294  if (state == WS_MOUSE_UP) {
1295  Link::Click( base, x, y, button, state );
1296  base->GotoLink( index );
1297  }
1298 }

Member Data Documentation

int BaseInterface::Room::Goto::index

Definition at line 78 of file base.h.


The documentation for this class was generated from the following files: