File Components.c

FileList > Components > Components.c

Go to the source code of this file

  • #include "Components.h"
  • #include "Entities.h"
  • #include "AssertLib.h"
  • #include "GameFramework.h"
  • #include "InputContext.h"
  • #include "Game2DLayer.h"
  • #include "Sprite.h"
  • #include "AnimatedSprite.h"

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 * entity, struct GameFrameworkLayer * pLayer, InputContext * context)
void Co_UpdateComponents (struct Entity2D * entity, struct GameFrameworkLayer * pLayer, float deltaT)

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 * entity,
    struct GameFrameworkLayer * pLayer,
    InputContext * context
) 

function Co_UpdateComponents

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


The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/src/gameframework/layers/Game2D/EntitySystem/Components/Components.c