src/proto2/Input.hh
author terom
Thu, 20 Nov 2008 22:55:28 +0000
branchno-netsession
changeset 39 cfb8b6e2a35f
parent 35 e21cfda0edde
permissions -rw-r--r--
almost playable
#ifndef INPUT_HH
#define INPUT_HH

const uint16_t INPUT_INTERVAL_MS = 20;

enum {
    INPUT_MOVE_UP     = 0x01,
    INPUT_MOVE_DOWN   = 0x02,
    INPUT_MOVE_LEFT   = 0x04,
    INPUT_MOVE_RIGHT  = 0x08,
};

typedef uint16_t PlayerInput_Move;

#endif