Space Plunder
Loading...
Searching...
No Matches
FGate Struct Reference

#include <Gate.h>

Public Member Functions

FORCEINLINE FGate ()
 
FORCEINLINE FGate (bool bStartClosed)
 
FORCEINLINE void Open ()
 
FORCEINLINE void Close ()
 
FORCEINLINE void Toggle ()
 
FORCEINLINE bool IsOpen () const
 

Private Attributes

bool bGateOpen
 

Constructor & Destructor Documentation

◆ FGate() [1/2]

FORCEINLINE FGate::FGate ( )
29 : bGateOpen(false)
30{
31
32}
bool bGateOpen
Definition Gate.h:25

◆ FGate() [2/2]

FORCEINLINE FGate::FGate ( bool bStartClosed)
explicit
34 : bGateOpen(!bStartClosed)
35{
36
37}

Member Function Documentation

◆ Close()

FORCEINLINE void FGate::Close ( )
inline
18{bGateOpen = false;}

◆ IsOpen()

FORCEINLINE bool FGate::IsOpen ( ) const
inline
21{return bGateOpen;}

◆ Open()

FORCEINLINE void FGate::Open ( )
inline
17{bGateOpen = true;}

◆ Toggle()

FORCEINLINE void FGate::Toggle ( )
inline

Member Data Documentation

◆ bGateOpen

bool FGate::bGateOpen
private

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