bool Jelly::Load(File* file)
{
	static SpriteSheet mySpriteSheet;
	if (!mySpriteSheet.Load("jelly.png"))
	{
		return false;
	}
	mySpriteSheet.SetNumCells(2, 1);
	m_sprite.SetSpriteSheet(&mySpriteSheet);
	m_sprite.SetMaxCellTime(0.1f);
	m_sprite.SetStartCell(0);
	m_sprite.SetEndCell(1);
	m_sprite.SetPos(Vec2f(ThePlatformManager::Instance()->m_posX, ThePlatformManager::Instance()->m_posY));
	m_sprite.SetVel(Vec2f(-70, 0));
	
	return true;
}
bool BossBullet::Load(File* file)
{
	static SpriteSheet mySpriteSheet;
	if (!mySpriteSheet.Load("bossbullet.png"))
	{
		return false;
	}
	mySpriteSheet.SetNumCells(2, 1);
	m_sprite.SetSpriteSheet(&mySpriteSheet);
    
	m_sprite.SetCurrentCell(0);
    m_sprite.SetStartCell(0);
    m_sprite.SetEndCell(1);
	m_sprite.SetPos(Vec2f(TheBulletManager::Instance()->GetBulletPos().GetX(), TheBulletManager::Instance()->GetBulletPos().GetY() + rand() % 100));
	m_sprite.SetVel(Vec2f(-100, 0));

	return true;
}