core.game

## Class Game.Bucket

- java.lang.Object
- - core.game.Game.Bucket

- Enclosing class:
    Game

      protected class Game.Bucket
      extends java.lang.Object

  Class for helping collision detection.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Game.Bucket()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(VGDLSprite sp)`
    `void` | `clear()`
    `java.util.ArrayList<VGDLSprite>` | `getAllSprites()`
    `java.util.TreeMap<java.lang.Integer,java.util.ArrayList<VGDLSprite>>` | `getSpriteList()`
    `int` | `size()`
    `int` | `size(int bucket)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Game.Bucket

          public Game.Bucket()

  - ### Method Detail

    - #### clear

          public void clear()

    - #### add

          public void add(VGDLSprite sp)

    - #### size

          public int size()

    - #### size

          public int size(int bucket)

    - #### getAllSprites

          public java.util.ArrayList<VGDLSprite> getAllSprites()

    - #### getSpriteList

          public java.util.TreeMap<java.lang.Integer,java.util.ArrayList<VGDLSprite>> getSpriteList()