File Components.h

FileList > engine > include > Components.h

Go to the source code of this file

  • #include "DynArray.h"
  • #include "DrawContext.h"

Public Types

Type Name
typedef struct InputContext InputContext

Public Functions

Type Name
void Co_DestroyComponents (struct Entity2D * entity)
void Co_DrawComponents (struct Entity2D * entity, struct GameFrameworkLayer * pLayer, struct Transform2D * pCam, VECTOR(Worldspace2DVert) * outVerts, VECTOR(VertIndexT) * outIndices, VertIndexT * pNextIndex)
void Co_Entity2DUpdatePostPhysicsFn (struct Entity2D * pEnt, struct GameFrameworkLayer * pLayer, float deltaT)
void Co_InitComponents (struct Entity2D * entity, struct GameFrameworkLayer * pLayer)
void Co_InputComponents (struct Entity2D * pEnt, struct GameFrameworkLayer * pLayer, InputContext * context)
void Co_UpdateComponents (struct Entity2D * pEnt, struct GameFrameworkLayer * pLayer, float deltaT)

Public Types Documentation

typedef InputContext

typedef struct InputContext InputContext;

Public Functions Documentation

function Co_DestroyComponents

void Co_DestroyComponents (
    struct Entity2D * entity
) 

function Co_DrawComponents

void Co_DrawComponents (
    struct Entity2D * entity,
    struct GameFrameworkLayer * pLayer,
    struct Transform2D * pCam,
    VECTOR( Worldspace2DVert ) * outVerts,
    VECTOR(VertIndexT) * outIndices,
    VertIndexT * pNextIndex
) 

function Co_Entity2DUpdatePostPhysicsFn

void Co_Entity2DUpdatePostPhysicsFn (
    struct Entity2D * pEnt,
    struct GameFrameworkLayer * pLayer,
    float deltaT
) 

function Co_InitComponents

void Co_InitComponents (
    struct Entity2D * entity,
    struct GameFrameworkLayer * pLayer
) 

function Co_InputComponents

void Co_InputComponents (
    struct Entity2D * pEnt,
    struct GameFrameworkLayer * pLayer,
    InputContext * context
) 

function Co_UpdateComponents

void Co_UpdateComponents (
    struct Entity2D * pEnt,
    struct GameFrameworkLayer * pLayer,
    float deltaT
) 


The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/include/Components.h