代码搜索:Direction
找到约 10,000 项符合「Direction」的源代码
代码结果 10,000
www.eeworm.com/read/224759/14568247
m antright.m
function ntime=antright
%ANTRIGHT Turns the GPLAB artificial ant to the right.
% ANTRIGHT returns the number of the time step used by the ant after
% turning. Other variables are returned as
www.eeworm.com/read/224759/14568250
m antleft.m
function ntime=antleft
%ANTLEFT Turns the GPLAB artificial ant to the left.
% ANTLEFT returns the number of the time step used by the ant after
% turning. Other variables are returned as glo
www.eeworm.com/read/224759/14568412
m antmove.m
function ntime=antmove
%ANTMOVE Moves the GPLAB artificial ant forward one step.
% ANTMOVE returns the number of the time step used by the ant after
% moving. Other variables are returned as
www.eeworm.com/read/123159/14644785
java player.java
import java.awt.*;
public class player{
private int xPos;
private int yPos;
private int xVPos;
private int yVPos;
private int speed;
private int direction;
private Rectangle Player;
www.eeworm.com/read/123156/14644948
java tank.java
import java.awt.*;
public class Tank{
// contral varibles
private final int UP = 0;
private final int DOWN = 1;
private final int LEFT = 2;
private final int RIGHT = 3;
// Physical info
www.eeworm.com/read/223102/14658891
c out.c
#include
#include
#define uint unsigned int
#define uchar unsigned char
#define PORT XBYTE[0xffc0]
void delay(uint x);
sbit temp=P1^7;
sbit wxy1=P1^0;
sbit wxy2=P1^1;
sbi
www.eeworm.com/read/122711/14671865
cpp demo8_10.cpp
// DEMO8_10.CPP - Page scrolling demo
// make certain to include the T3DLIB1.CPP source file!
// INCLUDES ///////////////////////////////////////////////
#define WIN32_LEAN_AND_MEAN
// you
www.eeworm.com/read/122604/14679865
h elev.h
// elev.h
// header file for elevators -- contains class declarations
#include "elev_app.h" //provided by client
#include "msoftcon.h" //for console graphics
#inclu
www.eeworm.com/read/222509/14687541
ctxt queue.ctxt
#BlueJ class context
comment0.params=where\ direction
comment0.target=Queue(Position,\ float)
comment0.text=\nConstructor\ for\ Queue\ objects\nAircraft\ join\ the\ queue\ at\ a\ specific\ position
www.eeworm.com/read/222509/14687580
java queue.java
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.lang.InterruptedException;
import java.awt.geom.Line2D.Float;
/**
* A simulated queue of planes.
*
* @author J