Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
BoardComputer Class Reference

#include <boardcomputer.h>

Collaboration diagram for BoardComputer:
[legend]

Public Member Functions

 BoardComputer (WorldObject *worldObject)
 
WorldObjectworldObject ()
 
const EngineStateengineState () const
 
void moveTo (const glm::vec3 &position, bool decelerate=true)
 
void rotateTo (const glm::vec3 &position, const glm::vec3 &up=glm::vec3(0, 0, 0))
 
void shootBullet (const std::vector< Handle< WorldObject >> &targets)
 
void shootRockets (Handle< WorldObject > &target)
 
void update (float deltaSec)
 

Protected Member Functions

glm::vec3 rotateUpTo (const glm::vec3 &up)
 
glm::vec3 rotateUpAuto (const glm::quat &rotation)
 

Protected Attributes

WorldObjectm_worldObject
 
EngineState m_engineState
 
bool m_overwriteEngineState
 

Detailed Description

The BoardComputer abstracts the Ship's systems to a level usable to AiTask, Character and Player


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