I am on to make a table game, I successfully figured out how to make the arrow and to move the cursor on it (by tiles). Now I wanna find out how to make that if I hit the Enter key the tile's texture change to another. I tried like this:
if (input.KeyPressed(Keys.Enter))
{
cell[X,Y].Cell_texture = tile_texture;
}
but it doesn't really work.


Cell_textureusingContent.Load<Texture2D>('assetName')– Mike C Apr 16 '12 at 3:04