예제 #1
0
void ConfigButton::draw(sf::RenderTarget& target, sf::RenderStates states) const
{
	states.transform *= getTransform();
	target.draw(m_background, states);
	target.draw((gui::Button) *this);
}
예제 #2
0
	void GUIGraph::draw(sf::RenderTarget& target, sf::RenderStates states) const
	{
		states.transform *= getTransform();

		target.draw(m_vertexArray);
	}
예제 #3
0
 void Flag::draw(sf::RenderTarget& target, sf::RenderStates states) const
 {
     target.draw(mSprite, states);
 }
예제 #4
0
파일: Ball.cpp 프로젝트: ilyaskurikhin/pong
void 
Ball::draw(sf::RenderTarget& target) const
{
    target.draw(sprite_);
}
예제 #5
0
파일: Mob.cpp 프로젝트: Windsdon/mage
void Mob::draw(sf::RenderTarget& target, sf::RenderStates states) const {
	target.draw(sprite, states);
}
예제 #6
0
void SpriteNode::drawCurrent(sf::RenderTarget& target, sf::RenderStates states) const
{
    target.draw(mSprite, states);
}
예제 #7
0
 virtual void draw(sf::RenderTarget& target, sf::RenderStates states) const
 {
     states.transform *= getTransform();
     states.texture = &m_tileset;
     target.draw(m_vertices, states);
 }
예제 #8
0
void World::drawPlayer(sf::RenderTarget& target)
{
    player.setPosition(player_position);
    target.draw(player);
}
예제 #9
0
void TextNode::drawCurrent(sf::RenderTarget& target, sf::RenderStates states) const
{
    target.draw(mText, states);
}
예제 #10
0
void Aircraft::drawCurrent(sf::RenderTarget &target, sf::RenderStates states) const
{
    target.draw(mSprite, states);
}
예제 #11
0
void World::drawObstacles(sf::RenderTarget& target)
{
    std::for_each(obstacle_container.begin(), obstacle_container.end(),
                  [&](const auto& ob) { target.draw(ob); });
}
예제 #12
0
void TileMap::draw_layers(int start, int finish, sf::RenderTarget & target) const
{
        for(int i = start; i <= finish; ++i)
                target.draw(_layers[i]);
}
예제 #13
0
	void Collidable::debug_draw(sf::RenderTarget& target) {
		target.draw(*mMask);
	}
void Button::draw(sf::RenderTarget& target, sf::RenderStates states) const
{
	states.transform *= getTransform();
	target.draw(mSprite, states);
	target.draw(mText, states);
}
예제 #15
0
	virtual void draw(sf::RenderTarget &target, sf::RenderStates states) const {
		for(auto& p : m_systems) {
			target.draw(p.second, states);
		}
	}
예제 #16
0
void ScoreNode::draw(sf::RenderTarget& target, sf::RenderStates states) const
{
	target.draw(mStaticScoreText, states);
	target.draw(mScoreText, states);
	target.draw(mLivesText, states);
}
예제 #17
0
void Building::draw(sf::RenderTarget& target, sf::RenderStates states) const{
    target.draw(shape);
}
예제 #18
0
void ParticleSystem::draw(sf::RenderTarget& target, sf::RenderStates states) const
{
	states.texture = &mTexture;
	target.draw(mVertexArray, states);
}
예제 #19
0
// Public Method(s)
	// Draw
void Grid::draw(sf::RenderTarget& target, sf::RenderStates states) const
{
	target.draw(mOutline, states);
}
예제 #20
0
void Map::draw(sf::RenderTarget& target,sf::RenderStates states) const
{
    for(unsigned int i = 0;i<ObjectsOnMap.size();i++)
        target.draw(*ObjectsOnMap[i]);
}
예제 #21
0
파일: text.cpp 프로젝트: namelessvoid/qrwar
	void Text::render(sf::RenderTarget& target, sf::RenderStates states) const
	{
		target.draw(_text);
	}
예제 #22
0
//Do nothing is the default behavior
void WorldObject::draw(sf::RenderTarget& target, sf::RenderStates states) const
{
	target.draw(aabb, states);
	//OnDraw(&target, states);
}
예제 #23
0
void LightObject::DrawInitialInstance(gd::InitialInstance & instance, sf::RenderTarget & renderTarget, gd::Project & project, gd::Layout & layout)
{
    edittimeIcon.setPosition(instance.GetX(), instance.GetY());
    renderTarget.draw(edittimeIcon);
}
예제 #24
0
void destroyButton::draw(sf::RenderTarget& target , sf::RenderStates states) const{
    if (isHighlighted && !isClicked) {target.draw(highlightedSprite);}
}
예제 #25
0
void BitmapText::draw(sf::RenderTarget& target, sf::RenderStates states) const
{
	states.transform *= getTransform();
	states.texture = m_pBitmapFont->getTexture();
	target.draw(m_vertices, states);
}
예제 #26
0
void Fader::draw(sf::RenderTarget& target, sf::RenderStates states) const {
	target.draw(rectFade, states);
}
예제 #27
0
void Bullet::render(sf::RenderTarget& window)
{
    sprite.setPosition(getPosition());
    sprite.setRotation(getRotation());
    window.draw(sprite);
}
예제 #28
0
//draw hint
void Chest::DrawHint(sf::RenderTarget& window)
{
	if (interactHintSprite.getColor() == sf::Color::White)
		window.draw(interactHintSprite);
}
예제 #29
0
//private
void InputSelect::draw(sf::RenderTarget& rt, sf::RenderStates states) const
{
    states.transform *= getTransform();
    rt.draw(m_backShape, states);
    rt.draw(m_text, states);
}
예제 #30
0
	void grid::draw(sf::RenderTarget & target, sf::RenderStates states) const
	{
		states.texture = &tileset_;

		target.draw(vertices_, states);
	}