tristanred / MicroEngine

GameEngine project based roughly on my previous CommsFramework engine.
MIT License
1 stars 0 forks source link

Rename GetTexture pipeline parameters #1

Closed tristanred closed 5 years ago

tristanred commented 5 years ago

Right now, loading a texture is done through the game module -> game engine -> renderer -> resource manager. All wrapping methods still have the parameter as "filepath" which is misleading since the parameter can be any name and not just a file path.

Since we can register an asset to a friendly name such as "jump" being associated to "assets/animations/jump_anim.png" it would be handy to rename the parameter to something like "assetName" or something.

tristanred commented 5 years ago

Fixed with 1f75dfa0fa66595d44f0f158890f60e7f6dd156b