Implementation of getInput(direction) & textures