DefaultTilesetΒΆ
Warning
This documentation is for an implementation of a service. This class is not meant to be used directly; instead use the ITileset service via dependency injection to access this functionality.
Information documented here may not be up to date.
-
class
DefaultTileset
: System.Object, ITileset, IEntity, IHasTransform The default tileset.
-
IEntity
Item
-
readonly Protogame.ITransform
Transform
-
readonly Protogame.IFinalTransform
FinalTransform
-
public void
Render
(IGameContext gameContext, IRenderContext renderContext) The render.
Parameters: - gameContext (Protogame.IGameContext) – The game context.
- renderContext (Protogame.IRenderContext) – The render context.
-
public void
SetSize
(Vector2 cellSize, Vector2 tilesetSize) The set size.
Parameters: - cellSize (Microsoft.Xna.Framework.Vector2) – The cell size.
- tilesetSize (Microsoft.Xna.Framework.Vector2) – The tileset size.
-
public void
Update
(IGameContext gameContext, IUpdateContext updateContext) The update.
Parameters: - gameContext (Protogame.IGameContext) – The game context.
- updateContext (Protogame.IUpdateContext) – The update context.
-
IEntity