Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Types | Public Member Functions | Public Attributes | List of all members
core::file::Behavior::Spinning Struct Reference

Contains data for when the behavior type is SpinInPlace. More...

#include <Behavior.hpp>

Public Types

enum  Direction : std::uint8_t { Clockwise = 0 , Counterclockwise = 1 , Random = 2 }
 The direction to spin. More...
 

Public Member Functions

 Spinning (Direction dir)
 Creates the data. More...
 
 Spinning ()
 Spin randomly. More...
 

Public Attributes

enum core::file::Behavior::Spinning::Direction spinDir
 

Detailed Description

Contains data for when the behavior type is SpinInPlace.

Definition at line 49 of file Behavior.hpp.

Member Enumeration Documentation

◆ Direction

The direction to spin.

Enumerator
Clockwise 

The character spins clockwise.

Counterclockwise 

The character spins counterclockwise.

Random 

The character spins randomly.

Definition at line 51 of file Behavior.hpp.

Constructor & Destructor Documentation

◆ Spinning() [1/2]

core::file::Behavior::Spinning::Spinning ( Direction  dir)

Creates the data.

Definition at line 127 of file Behavior.cpp.

◆ Spinning() [2/2]

core::file::Behavior::Spinning::Spinning ( )

Spin randomly.

Definition at line 124 of file Behavior.cpp.

Member Data Documentation

◆ spinDir

enum core::file::Behavior::Spinning::Direction core::file::Behavior::Spinning::spinDir

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