//public Vector2 seedorient = new Vector2(0, 0); //public Vector2 seedsize = new Vector2(0, 0); public void InitWithSeed(Seed seed, Texture.TextureMgr tmgr) { //seedorient = seed.orient; //seedsize = seed.size; this.Size = seed.size; this.Orient = seed.orient; drawblock = tmgr.GetTexture(seed.texname); }
public void InitWithSeed(Seed seed, Texture.TextureMgr tmgr) { var block = tmgr.GetTexture(seed.texname); tex = block.parent.texture; srcuv = block.uv; seedsize = seed.size; seedorient = seed.orient; }
public void InitWithSeed(Seed seed, Texture.TextureMgr tmgr) { block = tmgr.GetTexture(seed.texname); seedsize = seed.size; seedorient = seed.orient; }