Exemple #1
0
    // ================================================================ //

    // 생성한다.
    public void             create()
    {
        this.root_sprite = Sprite2DRoot.get().createNull();

        // 캐릭터.
        this.chr_sprite = Sprite2DRoot.get().createSprite(this.uun_texture, true);
        this.chr_sprite.setSize(new Vector2(this.uun_texture.width, this.uun_texture.height) / 4.0f);
        this.chr_sprite.transform.parent = this.root_sprite.transform;

        // 모락모락.
        this.moya                = new WeaponSelectNavi.Moya();
        this.moya.root_sprite    = this.root_sprite;
        this.moya.negi_texture   = this.moya_negi_texture;
        this.moya.yuzu_texture   = this.moya_yuzu_texture;
        this.moya.oke_texture    = this.moya_oke_texture;
        this.moya.kara_texture   = this.moya_kara_texture;
        this.moya.selecting_icon = this;
        this.moya.create();
        this.moya.setPosition(new Vector3(20.0f, 50.0f, 0.0f));

        //

        this.setPosition(Vector3.zero);
    }
Exemple #2
0
	// ================================================================ //

	// 생성한다.
	public void		create()
	{
		this.root_sprite = Sprite2DRoot.get().createNull();

		// 캐릭터.
		this.chr_sprite = Sprite2DRoot.get().createSprite(this.uun_texture, true);
		this.chr_sprite.setSize(new Vector2(this.uun_texture.width, this.uun_texture.height)/4.0f);
		this.chr_sprite.transform.parent = this.root_sprite.transform;

		// 모락모락.
		this.moya = new WeaponSelectNavi.Moya();
		this.moya.root_sprite    = this.root_sprite;
		this.moya.negi_texture   = this.moya_negi_texture;
		this.moya.yuzu_texture   = this.moya_yuzu_texture;
		this.moya.oke_texture    = this.moya_oke_texture;
		this.moya.kara_texture   = this.moya_kara_texture;
		this.moya.selecting_icon = this;
		this.moya.create();
		this.moya.setPosition(new Vector3(20.0f, 50.0f, 0.0f));

		//

		this.setPosition(Vector3.zero);
	}