public AnimationFrame(TilesetManager.InventoryTileSet p_inventoryTile, float p_duration = 0.2f) { frameType = TilesetManager.TileSetType.INVENTORY; inventoryTile = p_inventoryTile; duration = p_duration; }
public AnimationFrame(TilesetManager.ProjectileTileSet p_projectileTile, float p_duration = 0.2f) { frameType = TilesetManager.TileSetType.PROJECTILES; projectileTile = p_projectileTile; duration = p_duration; }
public AnimationFrame(TilesetManager.EnemyTileSet p_enemyTile, float p_duration = 0.2f) { frameType = TilesetManager.TileSetType.ENEMIES; enemyTile = p_enemyTile; duration = p_duration; }
public AnimationFrame(TilesetManager.PlayerTileSet p_playerTile, float p_duration = 0.2f) { frameType = TilesetManager.TileSetType.PLAYER; playerTile = p_playerTile; duration = p_duration; }
public AnimationFrame(TilesetManager.ItemTileSet p_itemTile, float p_duration = 0.2f) { frameType = TilesetManager.TileSetType.ITEMS; itemTile = p_itemTile; duration = p_duration; }