Warning: file_get_contents(http://s4p.us/a/api/?method=generateUrl&param=http%3A%2F%2Fpaste4.us%2Fview_paste%2F89%2F) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/content/82/8776282/html/evbpc.com/paste_system/code/view_paste.php on line 21
Code
Fullscreen Options: With Syntax Highlighting | Plain Text | Design View
Short Link:
Code
By Archduke
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 public void render(GameContainer gc, StateBasedGame sbg, Graphics g) throws SlickException
{
    Database.colorBg.render(gc, g);
        
    addSave.render(gc, g);
    for(int i = 0; i < saveSlot.size(); i++)
    {
        saveSlot.get(i).render(gc, g, opacity.get(i));
        if(saveSlot.get(i).getY() <= y + (i * 81))
        {
            saveSlot.get(i).setPos(saveSlot.get(i).getX(), saveSlot.get(i).getY() + 3);
        }
        else if(saveSlot.get(i).getY() > y + (i * 81))
        {
            saveSlot.get(i).setPos(saveSlot.get(i).getX(), saveSlot.get(i).getY() - 3);
        }
    }